Removed a few unused variables.
parent
9b56396ba1
commit
ce486f7ecb
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -64,8 +64,6 @@ namespace Heimdall
|
|||
|
||||
virtual bool Unpack(void)
|
||||
{
|
||||
const unsigned char *data = GetData();
|
||||
|
||||
unsigned int receivedResponseType = UnpackInteger(0);
|
||||
if (receivedResponseType != responseType)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue