win-pvdrivers

changeset 449:6159eac26b1a

Fixed warnings when ioport logging is disabled
author James Harper <james.harper@bendigoit.com.au>
date Thu Nov 13 17:19:28 2008 +1100 (2008-11-13)
parents b90f59eb12f9
children 605747e0db9c
files common/include/xen_windows.h
line diff
     1.1 --- a/common/include/xen_windows.h	Thu Nov 13 17:09:08 2008 +1100
     1.2 +++ b/common/include/xen_windows.h	Thu Nov 13 17:19:28 2008 +1100
     1.3 @@ -197,10 +197,12 @@ static XenDbgPrint(PCHAR format, ...)
     1.4  {
     1.5    CHAR buf[512];
     1.6    va_list ap;
     1.7 +#ifdef XEN_IOPORT_DEBUG_PORT_BASE
     1.8    ULONG i;
     1.9    BOOLEAN flag;
    1.10    int cpu;
    1.11    KIRQL old_irql = 0;
    1.12 +#endif
    1.13    
    1.14    va_start(ap, format);
    1.15    RtlStringCbVPrintfA(buf, ARRAY_SIZE(buf), format, ap);