Author: tfaber
Date: Wed Nov 13 21:00:27 2013
New Revision: 60981
URL:
http://svn.reactos.org/svn/reactos?rev=60981&view=rev
Log:
[CLASSPNP]
- Fix warnings
Modified:
trunk/reactos/drivers/storage/classpnp/power.c
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] Wed Nov 13 21:00:27 2013
@@ -465,6 +465,11 @@
return status;
}
+
+ case PowerUpDeviceInitial: {
+ NT_ASSERT(context->PowerChangeState.PowerUp != PowerUpDeviceInitial);
+ break;
+ }
}
return STATUS_MORE_PROCESSING_REQUIRED;
@@ -964,6 +969,11 @@
fdoExtension->PowerDownInProgress = FALSE;
return status;
+ }
+
+ case PowerDownDeviceInitial2: {
+ NT_ASSERT(context->PowerChangeState.PowerDown2 !=
PowerDownDeviceInitial2);
+ break;
}
}
@@ -1049,6 +1059,8 @@
*/
SET_FLAG(DeviceObject->Flags, DO_VERIFY_VOLUME);
}
+ break;
+ default:
break;
}
@@ -1326,6 +1338,8 @@
SET_FLAG(fdoExtension->DeviceObject->Flags,
DO_VERIFY_VOLUME);
}
break;
+ default:
+ break;
}
}
}