win-pvdrivers

changeset 1069:1b80cc14ee6d

Fix free build warnings
author James Harper <james.harper@bendigoit.com.au>
date Tue Nov 12 21:17:26 2013 +1100 (2013-11-12)
parents ebfa9417f1ee
children 05ece536b204
files xenvbd_filter/xenvbd_filter.c
line diff
     1.1 --- a/xenvbd_filter/xenvbd_filter.c	Tue Oct 29 19:55:25 2013 +1100
     1.2 +++ b/xenvbd_filter/xenvbd_filter.c	Tue Nov 12 21:17:26 2013 +1100
     1.3 @@ -86,9 +86,11 @@ XenVbd_StopRing(PXENVBD_DEVICE_DATA xvdd
     1.4      if (!WdfRequestSend(request, xvfd->wdf_target, &send_options)) {
     1.5        FUNCTION_MSG("Request was _NOT_ sent\n");
     1.6      }
     1.7 +    #if DBG
     1.8      status = WdfRequestGetStatus(request);
     1.9      FUNCTION_MSG("Request Status = %08x\n", status);
    1.10      FUNCTION_MSG("SRB Status = %08x\n", srb.SrbStatus);
    1.11 +    #endif
    1.12  
    1.13      WdfObjectDelete(request);
    1.14    }
    1.15 @@ -141,9 +143,11 @@ XenVbd_StartRing(PXENVBD_DEVICE_DATA xvd
    1.16      if (!WdfRequestSend(request, xvfd->wdf_target, &send_options)) {
    1.17        FUNCTION_MSG("Request was _NOT_ sent\n");
    1.18      }
    1.19 +    #if DBG
    1.20      status = WdfRequestGetStatus(request);
    1.21      FUNCTION_MSG("Request Status = %08x\n", status);
    1.22      FUNCTION_MSG("SRB Status = %08x\n", srb.SrbStatus);
    1.23 +    #endif
    1.24  
    1.25      WdfObjectDelete(request);
    1.26    }