summaryrefslogtreecommitdiffstats
path: root/heimdall/source
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-05-06 22:48:00 +0200
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-05-06 22:48:00 +0200
commitce486f7ecbf4259e5cf401c16a175e63046d73c8 (patch)
treee2c752b79d728f103a8502dbeabe48023e702c5f /heimdall/source
parentIt would seem that messing around with line coding etc. is not necessary. (diff)
downloadHeimdall-ce486f7ecbf4259e5cf401c16a175e63046d73c8.tar
Heimdall-ce486f7ecbf4259e5cf401c16a175e63046d73c8.tar.gz
Heimdall-ce486f7ecbf4259e5cf401c16a175e63046d73c8.tar.bz2
Heimdall-ce486f7ecbf4259e5cf401c16a175e63046d73c8.tar.lz
Heimdall-ce486f7ecbf4259e5cf401c16a175e63046d73c8.tar.xz
Heimdall-ce486f7ecbf4259e5cf401c16a175e63046d73c8.tar.zst
Heimdall-ce486f7ecbf4259e5cf401c16a175e63046d73c8.zip
Diffstat (limited to 'heimdall/source')
-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)
{