From 53eacee0daa0938e9d8edc920c4795624a05416d Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Sat, 3 May 2008 14:03:09 +0100 Subject: [PATCH] wnaspi32: Remove unused variables. --- dlls/wnaspi32/winaspi16.c | 2 -- dlls/wnaspi32/winaspi32.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/dlls/wnaspi32/winaspi16.c b/dlls/wnaspi32/winaspi16.c index b8dcf27538b..4209082b955 100644 --- a/dlls/wnaspi32/winaspi16.c +++ b/dlls/wnaspi32/winaspi16.c @@ -126,7 +126,6 @@ ASPI_OpenDevice16(SRB_ExecSCSICmd16 *prb) static void ASPI_DebugPrintCmd(SRB_ExecSCSICmd16 *prb, UINT16 mode) { - BYTE cmd; int i; BYTE *cdb; BYTE *lpBuf = PTR_TO_LIN( prb->SRB_BufPointer, mode ); @@ -173,7 +172,6 @@ ASPI_DebugPrintCmd(SRB_ExecSCSICmd16 *prb, UINT16 mode) TRACE("CDB Length: %d\n", prb->SRB_CDBLen); TRACE("POST Proc: %x\n", (DWORD) prb->SRB_PostProc); cdb = &prb->CDBByte[0]; - cmd = prb->CDBByte[0]; if (TRACE_ON(aspi)) { TRACE("CDB buffer["); diff --git a/dlls/wnaspi32/winaspi32.c b/dlls/wnaspi32/winaspi32.c index 36a92027726..94ed418d7b6 100644 --- a/dlls/wnaspi32/winaspi32.c +++ b/dlls/wnaspi32/winaspi32.c @@ -140,7 +140,6 @@ ASPI_OpenDevice(SRB_ExecSCSICmd *prb) static void ASPI_DebugPrintCmd(SRB_ExecSCSICmd *prb) { - BYTE cmd; int i; BYTE *cdb; @@ -185,7 +184,6 @@ ASPI_DebugPrintCmd(SRB_ExecSCSICmd *prb) TRACE("CDB Length: %d\n", prb->SRB_CDBLen); TRACE("POST Proc: %p\n", prb->SRB_PostProc); cdb = &prb->CDBByte[0]; - cmd = prb->CDBByte[0]; if (TRACE_ON(aspi)) { TRACE("CDB buffer["); for (i = 0; i < prb->SRB_CDBLen; i++) {