fix unused variable warning in release build
authorChristoph von Wittich <christoph_vw@reactos.org>
Fri, 8 Dec 2006 11:15:48 +0000 (11:15 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Fri, 8 Dec 2006 11:15:48 +0000 (11:15 +0000)
svn path=/trunk/; revision=25088

reactos/drivers/storage/buslogic/BusLogic958.c

index ae5ac5b..3c82480 100644 (file)
@@ -557,8 +557,7 @@ BusLogic_HardwareResetHostAdapter(BusLogic_HostAdapter_T  *HostAdapter,
       
       if (StatusRegister.Bits.DataInRegisterReady)
       {
-        UCHAR ErrorCode = BusLogic_ReadDataInRegister(HostAdapter);
-        DebugPrint((ERROR, "HOST ADAPTER ERROR CODE = %d\n", ErrorCode));
+        DebugPrint((ERROR, "HOST ADAPTER ERROR CODE = %d\n", BusLogic_ReadDataInRegister(HostAdapter)));
       }
       return FALSE;
   }