VirtualBox

Changeset 93978 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 28, 2022 12:29:52 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150208
Message:

Validation Kit/HGCM: Split out the HGCM testing (mocking) framework into an own header, added documentation, more code for generalizing this [build fix].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/HGCMMock.h

    r93973 r93978  
    398398
    399399    size_t i = 0;
    400     for (i; RT_ELEMENTS(pSvc->aHgcmClient); i++)
     400    for (; RT_ELEMENTS(pSvc->aHgcmClient); i++)
    401401    {
    402402        PTSTHGCMMOCKCLIENT pClient = &pSvc->aHgcmClient[i];
     
    705705
    706706    uint16_t i = 0;
    707     for (i; i < pInfo->cParms; i++)
     707    for (; i < pInfo->cParms; i++)
    708708    {
    709709        switch (offSrcParms->type)
     
    748748        offSrcParms = VBGL_HGCM_GET_CALL_PARMS(pInfo);
    749749
    750         uint16_t i = 0;
    751         for (; i < pInfo->cParms; i++)
     750        for (i = 0; i < pInfo->cParms; i++)
    752751        {
    753752            paDstParms[i].type = offSrcParms->type;
Note: See TracChangeset for help on using the changeset viewer.

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