win-pvdrivers

changeset 479:4cb1179f76d8

Fix another compiler warning when building non-debug
author Steve Meisner <steve.meisner@virtualcomputer.com>
date Wed Dec 03 15:14:19 2008 -0500 (2008-12-03)
parents 76e2404c5d5f
children 8f8c9edeac01
files xenvbd/xenvbd.c
line diff
     1.1 --- a/xenvbd/xenvbd.c	Wed Dec 03 12:55:54 2008 -0500
     1.2 +++ b/xenvbd/xenvbd.c	Wed Dec 03 15:14:19 2008 -0500
     1.3 @@ -16,7 +16,7 @@ You should have received a copy of the G
     1.4  along with this program; if not, write to the Free Software
     1.5  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     1.6  */
     1.7 -
     1.8 +
     1.9  #define INITGUID
    1.10  #include "xenvbd.h"
    1.11  #include <io/blkif.h>
    1.12 @@ -901,8 +901,13 @@ XenVbd_HwScsiInterrupt(PVOID DeviceExten
    1.13          }
    1.14          for (j = 0; j < shadow->req.nr_segments; j++)
    1.15          {
    1.16 -          BOOLEAN result = xvdd->vectors.GntTbl_EndAccess(xvdd->vectors.context, shadow->req.seg[j].gref, TRUE);
    1.17 +#if DBG
    1.18 +          BOOLEAN result = 
    1.19 +#endif
    1.20 +              xvdd->vectors.GntTbl_EndAccess(xvdd->vectors.context, shadow->req.seg[j].gref, TRUE);
    1.21 +#if DBG
    1.22            ASSERT(result);
    1.23 +#endif
    1.24            put_grant_on_freelist(xvdd, shadow->req.seg[j].gref);
    1.25          }
    1.26