VirtualBox

Changeset 62724 in vbox for trunk/src/VBox/Runtime/tools


Ignore:
Timestamp:
Jul 30, 2016 12:08:44 AM (8 years ago)
Author:
vboxsync
Message:

IPRT/testcases: warnings

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/tools/RTDbgSymCache.cpp

    r62477 r62724  
    220220     * Create the directories in the path.
    221221     */
    222     char chSaved = RTPATH_SLASH;
    223222    for (unsigned i = 0; i < 6; i++, cch += 5)
    224223    {
     
    576575{
    577576    /* This shouldn't happen, figure out what to do if it does. */
     577    RT_NOREF_PV(pCfg);
    578578    return RTMsgErrorRc(VERR_NOT_IMPLEMENTED,
    579579                        "'%s' is an OS X image file, did you point me to a file inside a .dSYM or .sym file?",
     
    592592static int rtDbgSymCacheAddDebugPdb(const char *pszPath, PCRTDBGSYMCACHEADDCFG pCfg, RTFILE hFile)
    593593{
     594    RT_NOREF2(pCfg, hFile);
    594595    return RTMsgErrorRc(VERR_NOT_IMPLEMENTED, "PDB support not implemented: '%s'", pszPath);
    595596}
     
    11091110                                            bool fOverwriteOnConflict)
    11101111{
     1112    RT_NOREF1(fOverwriteOnConflict);
    11111113    RTDBGSYMCACHEADDCFG Cfg;
    11121114    Cfg.fRecursive      = fRecursive;
     
    11961198        return RTMsgErrorExit(RTEXITCODE_FAILURE, "RTGetOptInit failed: %Rrc", rc);
    11971199
    1198     uint32_t        cAdded = 0;
     1200    //uint32_t        cAdded = 0;
    11991201    RTGETOPTUNION   ValueUnion;
    12001202    int             chOpt;
  • trunk/src/VBox/Runtime/tools/RTGzip.cpp

    r62477 r62724  
    8585{
    8686    /** @todo Add isatty() to IPRT. */
     87    RT_NOREF1(enmStdHandle);
    8788    return false;
    8889}
     
    189190
    190191    uint32_t cRefs = RTVfsIoStrmRelease(*phVfsDst);
    191     Assert(cRefs > 0);
     192    Assert(cRefs > 0); RT_NOREF_PV(cRefs);
    192193    *phVfsDst = hVfsGzip;
    193194
     
    216217
    217218    uint32_t cRefs = RTVfsIoStrmRelease(*phVfsSrc);
    218     Assert(cRefs > 0);
     219    Assert(cRefs > 0); RT_NOREF_PV(cRefs);
    219220    *phVfsSrc = hVfsGunzip;
    220221
     
    261262static RTEXITCODE gzipTestFile(PRTVFSIOSTREAM phVfsSrc, PCRTGZIPCMDOPTS pOpts)
    262263{
     264    RT_NOREF_PV(pOpts);
     265
    263266    /*
    264267     * Read the whole stream.
     
    284287static RTEXITCODE gzipListFile(PRTVFSIOSTREAM phVfsSrc, PCRTGZIPCMDOPTS pOpts)
    285288{
     289    RT_NOREF2(phVfsSrc, pOpts);
    286290    return RTMsgErrorExit(RTEXITCODE_FAILURE, "Listing has not been implemented");
    287291}
     
    485489    RTEXITCODE  rcExit      = RTEXITCODE_SUCCESS;
    486490    unsigned    cProcessed  = 0;
    487     RTVFSIOSTREAM hVfsStdOut= NIL_RTVFSIOSTREAM;
     491    //RTVFSIOSTREAM hVfsStdOut= NIL_RTVFSIOSTREAM;
    488492
    489493    RTGETOPTSTATE GetState;
  • trunk/src/VBox/Runtime/tools/RTSignTool.cpp

    r62570 r62724  
    417417            return RTErrInfoSetF(pErrInfo, VERR_NOT_SUPPORTED, "Unsupported signature type: %d", enmSignature);
    418418    }
    419     return VINF_SUCCESS;
    420419}
    421420
Note: See TracChangeset for help on using the changeset viewer.

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