VirtualBox

Changeset 107562 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Jan 9, 2025 9:04:44 AM (2 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166635
Message:

src/VBox/Runtime/testcase/tstRTSystemQueryOsInfo.cpp: Fixed warnings found by Parfait (assignment unused). jiraref:VBP-1424

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTSystemQueryOsInfo.cpp

    r106061 r107562  
    7474    uint64_t cbTotal;
    7575    rc = RTSystemQueryTotalRam(&cbTotal);
    76     RTTestIPrintf(RTTESTLVL_ALWAYS, "Total RAM: %'RU64 Bytes (%RU64 KB, %RU64 MB)\n",
    77                   cbTotal, cbTotal / _1K, cbTotal / _1M);
     76    RTTestIPrintf(RTTESTLVL_ALWAYS, "Total RAM: %'RU64 Bytes (%RU64 KB, %RU64 MB), rc=%Rrc\n",
     77                  cbTotal, cbTotal / _1K, cbTotal / _1M, rc);
    7878
    7979    uint64_t cbAvailable;
    8080    rc = RTSystemQueryAvailableRam(&cbAvailable);
    81     RTTestIPrintf(RTTESTLVL_ALWAYS, "Available RAM: %'RU64 Bytes (%RU64 KB, %RU64 MB)\n",
    82                   cbAvailable, cbAvailable / _1K, cbAvailable / _1M);
     81    RTTestIPrintf(RTTESTLVL_ALWAYS, "Available RAM: %'RU64 Bytes (%RU64 KB, %RU64 MB), rc=%Rrc\n",
     82                  cbAvailable, cbAvailable / _1K, cbAvailable / _1M, rc);
    8383
    8484    /*
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