diff options
author | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2014-05-07 06:48:00 +1000 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2014-05-07 06:48:00 +1000 |
commit | ce486f7ecbf4259e5cf401c16a175e63046d73c8 (patch) | |
tree | e2c752b79d728f103a8502dbeabe48023e702c5f | |
parent | 9b56396ba19617b70ebde5f5072ad8b401697e50 (diff) | |
download | external_heimdall-ce486f7ecbf4259e5cf401c16a175e63046d73c8.zip external_heimdall-ce486f7ecbf4259e5cf401c16a175e63046d73c8.tar.gz external_heimdall-ce486f7ecbf4259e5cf401c16a175e63046d73c8.tar.bz2 |
Removed a few unused variables.
-rw-r--r-- | heimdall/source/BridgeManager.cpp | 1 | ||||
-rw-r--r-- | heimdall/source/FlashAction.cpp | 1 | ||||
-rw-r--r-- | heimdall/source/ResponsePacket.h | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/heimdall/source/BridgeManager.cpp b/heimdall/source/BridgeManager.cpp index 44e3c0c..7db00d5 100644 --- a/heimdall/source/BridgeManager.cpp +++ b/heimdall/source/BridgeManager.cpp @@ -324,7 +324,6 @@ bool BridgeManager::InitialiseProtocol(void) // Expect "LOKE" memset(dataBuffer, 0, 7); - int retry = 0; int dataTransferred = 0; int result = libusb_bulk_transfer(deviceHandle, inEndpoint, dataBuffer, 7, &dataTransferred, 1000); diff --git a/heimdall/source/FlashAction.cpp b/heimdall/source/FlashAction.cpp index e528680..2ceaa3e 100644 --- a/heimdall/source/FlashAction.cpp +++ b/heimdall/source/FlashAction.cpp @@ -100,7 +100,6 @@ static bool openFiles(Arguments& arguments, vector<PartitionFile>& partitionFile for (vector<const Argument *>::const_iterator it = arguments.GetArguments().begin(); it != arguments.GetArguments().end(); it++) { - bool isPartitionArgument = false; const string& argumentName = (*it)->GetName(); // The only way an argument could exist without being in the argument types map is if it's a wild-card. diff --git a/heimdall/source/ResponsePacket.h b/heimdall/source/ResponsePacket.h index 9463333..d0769af 100644 --- a/heimdall/source/ResponsePacket.h +++ b/heimdall/source/ResponsePacket.h @@ -64,8 +64,6 @@ namespace Heimdall virtual bool Unpack(void)
{
- const unsigned char *data = GetData();
-
unsigned int receivedResponseType = UnpackInteger(0);
if (receivedResponseType != responseType)
{
|