VirtualBox

Changeset 36409 in vbox


Ignore:
Timestamp:
Mar 24, 2011 4:26:21 PM (14 years ago)
Author:
vboxsync
Message:

Changed assertions to debug-only.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/RDP/client/vrdp/rdpusb.c

    r36406 r36409  
    260260                                   + RT_BOOL(pEntry->oSerialNumber),
    261261                         free(pBuf), NULL);
    262         AssertReturnStmt(   pEntry->oManufacturer == 0
    263                          || pBuf[iCurrent + pEntry->oManufacturer] != '\0',
    264                          free(pBuf), NULL);
    265         AssertReturnStmt(   pEntry->oProduct == 0
    266                          || pBuf[iCurrent + pEntry->oProduct] != '\0',
    267                          free(pBuf), NULL);
    268         AssertReturnStmt(   pEntry->oSerialNumber == 0
    269                          || pBuf[iCurrent + pEntry->oSerialNumber] != '\0',
    270                          free(pBuf), NULL);
     262        Assert(pEntry->oManufacturer == 0 || pBuf[iCurrent + pEntry->oManufacturer] != '\0');
     263        Assert(pEntry->oProduct == 0 || pBuf[iCurrent + pEntry->oProduct] != '\0');
     264        Assert(pEntry->oSerialNumber == 0 || pBuf[iCurrent + pEntry->oSerialNumber] != '\0');
    271265        AssertReturnStmt(cZeros == 0 || pBuf[iCurrent + iNext - 1] == '\0',
    272266                         free(pBuf), NULL);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette