summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--heimdall/source/BridgeManager.cpp1
-rw-r--r--heimdall/source/FlashAction.cpp1
-rw-r--r--heimdall/source/ResponsePacket.h2
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)
{