VirtualBox

Changeset 48311 in vbox for trunk/src


Ignore:
Timestamp:
Sep 5, 2013 2:37:07 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88736
Message:

Warnings.

Location:
trunk/src/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp

    r48231 r48311  
    15421542    RTSpinlockReleaseNoInts(pDevExt->EventSpinlock);
    15431543    Assert(rc == 0);
     1544    NOREF(rc);
    15441545
    15451546#ifdef VBOXGUEST_USE_DEFERRED_WAKE_UP
     
    30733074    ASMAtomicDecU32(&pDevExt->cISR);
    30743075    Assert(rc == 0);
     3076    NOREF(rc);
    30753077    return fOurIrq;
    30763078}
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceStats.cpp

    r46625 r48311  
    454454        uint64_t u64Total = 0, u64Free = 0, u64Buffers = 0, u64Cached = 0, u64PagedTotal = 0;
    455455        int rc = -1;
    456         kstat_t *pStatPages = kstat_lookup(pStatKern, "unix", 0 /* instance */, "system_pages");
     456        kstat_t *pStatPages = kstat_lookup(pStatKern, (char *)"unix", 0 /* instance */, (char *)"system_pages");
    457457        if (pStatPages)
    458458        {
     
    461461            {
    462462                kstat_named_t *pStat = NULL;
    463                 pStat = (kstat_named_t *)kstat_data_lookup(pStatPages, "pagestotal");
     463                pStat = (kstat_named_t *)kstat_data_lookup(pStatPages, (char *)"pagestotal");
    464464                if (pStat)
    465465                    u64Total = pStat->value.ul;
    466466
    467                 pStat = (kstat_named_t *)kstat_data_lookup(pStatPages, "freemem");
     467                pStat = (kstat_named_t *)kstat_data_lookup(pStatPages, (char *)"freemem");
    468468                if (pStat)
    469469                    u64Free = pStat->value.ul;
     
    471471        }
    472472
    473         kstat_t *pStatZFS = kstat_lookup(pStatKern, "zfs", 0 /* instance */, "arcstats");
     473        kstat_t *pStatZFS = kstat_lookup(pStatKern, (char *)"zfs", 0 /* instance */, (char *)"arcstats");
    474474        if (pStatZFS)
    475475        {
     
    477477            if (rc != -1)
    478478            {
    479                 kstat_named_t *pStat = (kstat_named_t *)kstat_data_lookup(pStatZFS, "size");
     479                kstat_named_t *pStat = (kstat_named_t *)kstat_data_lookup(pStatZFS, (char *)"size");
    480480                if (pStat)
    481481                    u64Cached = pStat->value.ul;
     
    487487         * number of stat updates so far and use that to divide the swap counter.
    488488         */
    489         kstat_t *pStatInfo = kstat_lookup(pStatKern, "unix", 0 /* instance */, "sysinfo");
     489        kstat_t *pStatInfo = kstat_lookup(pStatKern, (char *)"unix", 0 /* instance */, (char *)"sysinfo");
    490490        if (pStatInfo)
    491491        {
     
    494494            if (rc != -1)
    495495            {
    496                 kstat_t *pStatVMInfo = kstat_lookup(pStatKern, "unix", 0 /* instance */, "vminfo");
     496                kstat_t *pStatVMInfo = kstat_lookup(pStatKern, (char *)"unix", 0 /* instance */, (char *)"vminfo");
    497497                if (pStatVMInfo)
    498498                {
     
    717717    VBoxServiceVMStatsTerm
    718718};
     719
  • trunk/src/VBox/Main/src-server/SnapshotImpl.cpp

    r48297 r48311  
    14351435 * When the console is done, it calls SessionMachine::EndTakingSnapshot().
    14361436 *
    1437  *  @note Locks mParent + this object for writing.
     1437 * @note Locks mParent + this object for writing.
    14381438 *
    14391439 * @param aInitiator in: The console on which Console::TakeSnapshot was called.
     
    33993399    AssertReturn(aSource != aTarget, E_FAIL);
    34003400    AssertReturn(aMediumLockList != NULL, E_FAIL);
     3401    NOREF(fMergeForward);
     3402    NOREF(aParentForTarget);
     3403    NOREF(aChildrenToReparent);
    34013404
    34023405    HRESULT rc = S_OK;
     
    36443647    return S_OK;
    36453648}
     3649
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