VirtualBox

vbox的更動 62450 路徑 trunk/src/bldprogs


忽略:
時間撮記:
2016-7-22 下午03:04:27 (8 年 以前)
作者:
vboxsync
訊息:

bldprogs: MSC level 4 warning fixes.

位置:
trunk/src/bldprogs
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/bldprogs/VBoxCPP.cpp

    r62002 r62450  
    11131113
    11141114
     1115#if 0 /* unused */
    11151116/**
    11161117 * Skips white spaces, including escaped new-lines.
     
    11411142    }
    11421143}
     1144#endif
    11431145
    11441146
     
    12631265{
    12641266    size_t offSaved = ScmStreamTell(pStrmInput);
    1265     RTEXITCODE rcExit = vbcppProcessSkipWhiteEscapedEolAndComments(pThis, pStrmInput);
     1267    /*RTEXITCODE rcExit =*/ vbcppProcessSkipWhiteEscapedEolAndComments(pThis, pStrmInput);
    12661268    unsigned ch = ScmStreamPeekCh(pStrmInput);
    12671269    if (ch == '(')
     
    22922294    PSCMSTREAM pStrmInput = pExp->pStrmInput;
    22932295    size_t     offSaved   = ScmStreamTell(pStrmInput);
    2294     RTEXITCODE rcExit     = vbcppProcessSkipWhiteEscapedEolAndComments(pThis, pStrmInput);
     2296    /*RTEXITCODE rcExit = */ vbcppProcessSkipWhiteEscapedEolAndComments(pThis, pStrmInput);
    22952297    unsigned ch = ScmStreamPeekCh(pStrmInput);
    22962298    if (ch == '(')
     
    23812383{
    23822384    RTEXITCODE  rcExit        = RTEXITCODE_SUCCESS;
    2383     size_t      cReplacements = 0;
    23842385    size_t      off           = 0;
    23852386    unsigned    ch;
     
    34543455            break;
    34553456        case '>':
    3456             enmOp = kVBCppBinary_GreaterThan; break;
     3457            enmOp = kVBCppBinary_GreaterThan;
    34573458            if (pParser->pszCur[1] == '=')
    34583459            {
     
    37793780static VBCPPEXPRRET vbcppExprParseCharacterConstant(PVBCPPEXPRPARSER pParser)
    37803781{
    3781     char ch  = *pParser->pszCur++;
     3782    Assert(*pParser->pszCur == '\'');
     3783    pParser->pszCur++;
    37823784    char ch2 = *pParser->pszCur++;
    37833785    if (ch2 == '\'')
     
    48334835            pchFileSpec = pchFilename = ScmStreamGetCur(pStrmInput);
    48344836            unsigned chEnd  = chType == '<' ? '>' : '"';
    4835             unsigned chPrev = ch;
    48364837            while (   (ch = ScmStreamGetCh(pStrmInput)) != ~(unsigned)0
    48374838                   &&  ch != chEnd)
  • trunk/src/bldprogs/VBoxTpG.cpp

    r58997 r62450  
    10211021        RTListForEach(&pProv->ProbeHead, pProbe, VTGPROBE, ListEntry)
    10221022        {
    1023             PVTGARG const pFirstArg = RTListGetFirst(&pProbe->ArgHead, VTGARG, ListEntry);
    1024 
    10251023            ScmStreamPrintf(pStrm,
    10261024                            "extern uint32_t const volatile g_cVTGProbeEnabled_%s_%s;\n"
     
    12021200        RTListForEach(&pProv->ProbeHead, pProbe, VTGPROBE, ListEntry)
    12031201        {
    1204             PVTGARG const pFirstArg = RTListGetFirst(&pProbe->ArgHead, VTGARG, ListEntry);
    1205 
    12061202            generateProbeDefineName(szTmp, sizeof(szTmp), pProv->pszName, pProbe->pszMangledName);
    12071203            ScmStreamPrintf(pStrm,
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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