win-pvdrivers

changeset 461:c21dadd386da

Fixed compiler warnings during free build
author Steve Meisner <steve.meisner@virtualcomputer.com>
date Wed Nov 26 10:12:06 2008 -0500 (2008-11-26)
parents dd42744a458e
children 7b2131b4f776
files xenpci/xenpci_pdo.c
line diff
     1.1 --- a/xenpci/xenpci_pdo.c	Tue Nov 25 18:02:21 2008 -0500
     1.2 +++ b/xenpci/xenpci_pdo.c	Wed Nov 26 10:12:06 2008 -0500
     1.3 @@ -125,7 +125,11 @@ XenPci_BackEndStateHandler(char *path, P
     1.4    PXENPCI_DEVICE_DATA xpdd = xppdd->bus_fdo->DeviceExtension;
     1.5    ULONG new_backend_state;
     1.6  
     1.7 -//  KdPrint((__DRIVER_NAME " --> " __FUNCTION__ "\n"));
     1.8 +#if !DBG
     1.9 +  UNREFERENCED_PARAMETER(path);
    1.10 +#endif
    1.11 +  
    1.12 +  //  KdPrint((__DRIVER_NAME " --> " __FUNCTION__ "\n"));
    1.13  
    1.14    /* check that path == device/id/state */
    1.15    //RtlStringCbPrintfA(path, ARRAY_SIZE(path), "%s/state", xppdd->path);
    1.16 @@ -838,6 +842,10 @@ XenPci_DumpPdoConfig(PDEVICE_OBJECT devi
    1.17  {
    1.18    PXENPCI_PDO_DEVICE_DATA xppdd = (PXENPCI_PDO_DEVICE_DATA)device_object->DeviceExtension;
    1.19  
    1.20 +#if !DBG
    1.21 +  UNREFERENCED_PARAMETER(xppdd);
    1.22 +#endif
    1.23 +
    1.24    KdPrint((__DRIVER_NAME "     path = %s\n", xppdd->path));
    1.25    KdPrint((__DRIVER_NAME "     backend_path = %s\n", xppdd->backend_path));
    1.26    KdPrint((__DRIVER_NAME "     irq_number = %d\n", xppdd->irq_number));