VirtualBox

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


忽略:
時間撮記:
2016-8-1 下午10:36:01 (8 年 以前)
作者:
vboxsync
訊息:

scm: warnings

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

圖例:

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

    r62537 r62854  
    613613{
    614614    /** @todo Editor and SCM settings directives in documents.  */
     615    RT_NOREF2(pBase, pStream);
    615616    return VINF_SUCCESS;
    616617}
     
    14741475
    14751476            PSCMSETTINGS pPopped = scmSettingsStackPop(&pSettingsStack);
    1476             Assert(pPopped == pSettings);
     1477            Assert(pPopped == pSettings); RT_NOREF_PV(pPopped);
    14771478            scmSettingsDestroy(pSettings);
    14781479        }
  • trunk/src/bldprogs/scmrw.cpp

    r62537 r62854  
    363363bool rewrite_SvnNoExecutable(PSCMRWSTATE pState, PSCMSTREAM pIn, PSCMSTREAM pOut, PCSCMSETTINGSBASE pSettings)
    364364{
     365    RT_NOREF2(pIn, pOut);
    365366    if (   !pSettings->fSetSvnExecutable
    366367        || !ScmSvnIsInWorkingCopy(pState))
     
    389390bool rewrite_SvnKeywords(PSCMRWSTATE pState, PSCMSTREAM pIn, PSCMSTREAM pOut, PCSCMSETTINGSBASE pSettings)
    390391{
     392    RT_NOREF2(pIn, pOut);
    391393    if (   !pSettings->fSetSvnKeywords
    392394        || !ScmSvnIsInWorkingCopy(pState))
     
    439441bool rewrite_Makefile_kup(PSCMRWSTATE pState, PSCMSTREAM pIn, PSCMSTREAM pOut, PCSCMSETTINGSBASE pSettings)
    440442{
     443    RT_NOREF2(pOut, pSettings);
     444
    441445    /* These files should be zero bytes. */
    442446    if (pIn->cb == 0)
     
    462466bool rewrite_Makefile_kmk(PSCMRWSTATE pState, PSCMSTREAM pIn, PSCMSTREAM pOut, PCSCMSETTINGSBASE pSettings)
    463467{
     468    RT_NOREF4(pState, pIn, pOut, pSettings);
    464469    return false;
    465470}
     
    681686{
    682687
     688    RT_NOREF4(pState, pIn, pOut, pSettings);
    683689    return false;
    684690}
  • trunk/src/bldprogs/scmsubversion.cpp

    r62537 r62854  
    394394             */
    395395            RTPROCESS hProc;
    396             rc = RTProcCreateEx(g_szSvnPath,
     396            rc = RTProcCreateEx(pszExec,
    397397                                papszArgs,
    398                                 RTENV_DEFAULT,
     398                                hEnv,
    399399                                0 /*fFlags*/,
    400400                                NULL /*phStdIn*/,
     
    529529     * Create the process.
    530530     */
    531     RTPROCESS hProc;
     531    RTPROCESS hProc = NIL_RTPROCESS;
    532532    if (RT_SUCCESS(rc))
    533         rc = RTProcCreateEx(g_szSvnPath,
     533        rc = RTProcCreateEx(pszExec,
    534534                            papszArgs,
    535                             RTENV_DEFAULT,
     535                            hEnv,
    536536                            0 /*fFlags*/,
    537537                            aph[0],
     
    814814    {
    815815        char *pszStripped = RTStrStrip(pszVersion);
    816         if (RTStrVersionCompare(pszVersion, "1.8") >= 0)
     816        if (RTStrVersionCompare(pszStripped, "1.8") >= 0)
    817817            g_enmSvnVersion = kScmSvnVersion_1_8;
    818         else if (RTStrVersionCompare(pszVersion, "1.7") >= 0)
     818        else if (RTStrVersionCompare(pszStripped, "1.7") >= 0)
    819819            g_enmSvnVersion = kScmSvnVersion_1_7;
    820         else if (RTStrVersionCompare(pszVersion, "1.6") >= 0)
     820        else if (RTStrVersionCompare(pszStripped, "1.6") >= 0)
    821821            g_enmSvnVersion = kScmSvnVersion_1_6;
    822822        else
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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