Removed a few unused variables.

alt_setting-error
Benjamin Dobell 2014-05-07 06:48:00 +10:00
parent 9b56396ba1
commit ce486f7ecb
3 changed files with 0 additions and 4 deletions

View File

@ -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);

View File

@ -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.

View File

@ -64,8 +64,6 @@ namespace Heimdall
virtual bool Unpack(void)
{
const unsigned char *data = GetData();
unsigned int receivedResponseType = UnpackInteger(0);
if (receivedResponseType != responseType)
{