VirtualBox

Ignore:
Timestamp:
Jul 29, 2016 11:19:16 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109248
Message:

SUPLib: Two error path fixes and lots of warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPLib-win.cpp

    r62490 r62675  
    260260                pErrInfo->pszMsg[0] = '\0';
    261261        }
     262#else
     263        RT_NOREF1(penmWhat);
    262264#endif
    263265        return rc;
     
    457459        CloseServiceHandle(hSMgr);
    458460    }
     461    else
     462        rc = RTErrConvertFromWin32(dwErr);
    459463    return rc;
    460464}
     
    570574        SERVICE_STATUS Status;
    571575        BOOL fRc = QueryServiceStatus(hService, &Status);
    572         Assert(fRc);
     576        Assert(fRc); NOREF(fRc);
    573577        if (Status.dwCurrentState == SERVICE_RUNNING)
    574578            rc = VINF_ALREADY_INITIALIZED;
     
    652656int suplibOsIOCtl(PSUPLIBDATA pThis, uintptr_t uFunction, void *pvReq, size_t cbReq)
    653657{
     658    RT_NOREF1(cbReq);
     659
    654660    /*
    655661     * Issue the device I/O control.
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