Author: akhaldi
Date: Sun Jul 29 02:14:52 2012
New Revision: 56975
URL:
http://svn.reactos.org/svn/reactos?rev=56975&view=rev
Log:
[CLASSPNP]
* Fix some more warnings.
Modified:
trunk/reactos/drivers/storage/classpnp/class.c
trunk/reactos/drivers/storage/classpnp/classwmi.c
trunk/reactos/drivers/storage/classpnp/obsolete.c
trunk/reactos/drivers/storage/classpnp/power.c
trunk/reactos/drivers/storage/classpnp/utils.c
trunk/reactos/drivers/storage/classpnp/xferpkt.c
Modified: trunk/reactos/drivers/storage/classpnp/class.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/classpnp/c…
==============================================================================
--- trunk/reactos/drivers/storage/classpnp/class.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/classpnp/class.c [iso-8859-1] Sun Jul 29 02:14:52 2012
@@ -425,7 +425,7 @@
)
{
PCLASS_DRIVER_EXTENSION driverExtension;
- NTSTATUS status;
+ //NTSTATUS status;
PAGED_CODE();
@@ -2658,7 +2658,7 @@
PFUNCTIONAL_DEVICE_EXTENSION fdoExtension = Fdo->DeviceExtension;
PCLASS_PRIVATE_FDO_DATA fdoData = fdoExtension->PrivateFdoData;
IO_STATUS_BLOCK ioStatus;
- ULONG controlType;
+ //ULONG controlType;
PIRP irp;
PIO_STACK_LOCATION irpStack;
KEVENT event;
Modified: trunk/reactos/drivers/storage/classpnp/classwmi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/classpnp/c…
==============================================================================
--- trunk/reactos/drivers/storage/classpnp/classwmi.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/classpnp/classwmi.c [iso-8859-1] Sun Jul 29 02:14:52
2012
@@ -227,7 +227,7 @@
PGUIDREGINFO guidList;
PWMIREGINFOW wmiRegInfo;
PWMIREGGUIDW wmiRegGuid;
- PDEVICE_OBJECT pdo;
+ //PDEVICE_OBJECT pdo;
PUNICODE_STRING regPath;
PWCHAR stringPtr;
ULONG retSize;
Modified: trunk/reactos/drivers/storage/classpnp/obsolete.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/classpnp/o…
==============================================================================
--- trunk/reactos/drivers/storage/classpnp/obsolete.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/classpnp/obsolete.c [iso-8859-1] Sun Jul 29 02:14:52
2012
@@ -849,8 +849,8 @@
{
PCLASS_PRIVATE_FDO_DATA privateData = FdoExtension->PrivateFdoData;
PCOMMON_DEVICE_EXTENSION commonExt = &FdoExtension->CommonExtension;
- KIRQL oldIrql;
- PIRP blockedIrp;
+ //KIRQL oldIrql;
+ //PIRP blockedIrp;
// This function is obsolete, but still called by DISK.SYS .
// DBGWARN(("ClassFreeOrReuseSrb is OBSOLETE !"));
Modified: trunk/reactos/drivers/storage/classpnp/power.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/classpnp/p…
==============================================================================
--- trunk/reactos/drivers/storage/classpnp/power.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/classpnp/power.c [iso-8859-1] Sun Jul 29 02:14:52 2012
@@ -100,7 +100,7 @@
// don't do anything that would break under either circumstance.
//
- NTSTATUS status;
+ //NTSTATUS status;
isRemoved = ClassAcquireRemoveLock(DeviceObject, Irp);
Modified: trunk/reactos/drivers/storage/classpnp/utils.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/classpnp/u…
==============================================================================
--- trunk/reactos/drivers/storage/classpnp/utils.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/classpnp/utils.c [iso-8859-1] Sun Jul 29 02:14:52 2012
@@ -221,7 +221,7 @@
PUCHAR productId;
PUCHAR productRevision;
UCHAR nullString[] = "";
- ULONG j;
+ //ULONG j;
PAGED_CODE();
ASSERT(DeviceList);
Modified: trunk/reactos/drivers/storage/classpnp/xferpkt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/classpnp/x…
==============================================================================
--- trunk/reactos/drivers/storage/classpnp/xferpkt.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/classpnp/xferpkt.c [iso-8859-1] Sun Jul 29 02:14:52
2012
@@ -326,7 +326,7 @@
PCLASS_PRIVATE_FDO_DATA fdoData = fdoExt->PrivateFdoData;
PTRANSFER_PACKET pkt;
PSINGLE_LIST_ENTRY slistEntry;
- KIRQL oldIrql;
+ //KIRQL oldIrql;
slistEntry = InterlockedPopEntrySList(&fdoData->FreeTransferPacketsList);
if (slistEntry){