From: Paul Durrant Date: Mon, 9 May 2016 12:41:19 +0000 (+0100) Subject: Fix compile errors X-Git-Tag: 8.2.0-rc1~22 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4d628093e32fc85f200e2692483e9bf67aec598f;p=pvdrivers%2Fwin%2Fxenvbd.git Fix compile errors Two variables were being initialized but not used, leading to a compiler warning. Signed-off-by: Paul Durrant --- diff --git a/src/xenvbd/pdo.c b/src/xenvbd/pdo.c index 8a2cbe4..3565cc6 100644 --- a/src/xenvbd/pdo.c +++ b/src/xenvbd/pdo.c @@ -2364,8 +2364,6 @@ PdoDispatchPnp( ) { PIO_STACK_LOCATION Stack = IoGetCurrentIrpStackLocation(Irp); - UCHAR Minor = Stack->MinorFunction; - ULONG TargetId = PdoGetTargetId(Pdo); __PdoCheckEjectPending(Pdo);