From ce486f7ecbf4259e5cf401c16a175e63046d73c8 Mon Sep 17 00:00:00 2001
From: Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au>
Date: Wed, 7 May 2014 06:48:00 +1000
Subject: Removed a few unused variables.

---
 heimdall/source/BridgeManager.cpp | 1 -
 heimdall/source/FlashAction.cpp   | 1 -
 heimdall/source/ResponsePacket.h  | 2 --
 3 files changed, 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)
 				{
-- 
cgit v1.1