VirtualBox

Changeset 62592 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jul 27, 2016 1:24:48 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109161
Message:

IPRT: More unused parameters and undefined preprocessor macor warning (C4668) fixes/workarounds. The latter triggers in stdint.h from the compiler and in windows SDK/DDK headers.

Location:
trunk/src/VBox/Runtime/common
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/asn1/oiddb2c.cpp

    r59761 r62592  
    393393     * see the description attribute.
    394394     */
    395     unsigned    cOidComponents;
     395    unsigned    cOidComponents = 0;
    396396    uint32_t    auOidComponents[16];
    397397    unsigned    iLineNo = 0;
  • trunk/src/VBox/Runtime/common/dbg/dbgmoddbghelp.cpp

    r62584 r62592  
    4343#include "internal/dbgmod.h"
    4444
    45 #include <Windows.h>
     45#include <iprt/win/windows.h>
    4646#include <Dbghelp.h>
    4747#include <iprt/win/lazy-dbghelp.h>
     
    117117{
    118118    RTDBGMOD hCnt = (RTDBGMOD)pMod->pvDbgPriv;
    119     Assert(!pszSymbol[cchSymbol]);
     119    Assert(!pszSymbol[cchSymbol]); RT_NOREF_PV(cchSymbol);
    120120    return RTDbgModSymbolByName(hCnt, pszSymbol/*, cchSymbol*/, pSymInfo);
    121121}
  • trunk/src/VBox/Runtime/common/path/RTPathGlob.cpp

    r62584 r62592  
    4444
    4545#if defined(RT_OS_WINDOWS)
    46 # include <Windows.h>
     46# include <iprt/win/windows.h>
    4747# include "../../r3/win/internal-r3-win.h"
    4848
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