VirtualBox

Changeset 40633 in vbox for trunk/src/VBox/HostServices


Ignore:
Timestamp:
Mar 26, 2012 12:00:16 PM (13 years ago)
Author:
vboxsync
Message:

several warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestProperties/service.cpp

    r40361 r40633  
    777777    {
    778778        uint64_t u64Timestamp = getCurrentTimestamp();
    779         bool fRc = RTStrSpaceRemove(&mhProperties, pProp->mStrCore.pszString);
    780         Assert(fRc); NOREF(fRc);
     779        PRTSTRSPACECORE pStrCore = RTStrSpaceRemove(&mhProperties, pProp->mStrCore.pszString);
     780        AssertPtr(pStrCore); NOREF(pStrCore);
    781781        mcProperties--;
    782782        delete pProp;
     
    793793 * Enumeration data shared between enumPropsCallback and Service::enumProps.
    794794 */
    795 typedef struct EnumData
     795typedef struct ENUMDATA
    796796{
    797797    const char *pszPattern; /**< The pattern to match properties against. */
     
    799799    size_t      cbLeft;     /**< The amount of available buffer space. */
    800800    size_t      cbNeeded;   /**< The amount of needed buffer space. */
    801 } EnumData;
     801} ENUMDATA;
    802802
    803803/**
     
    807807{
    808808    Property *pProp = (Property *)pStr;
    809     EnumData *pEnum = (EnumData *)pvUser;
     809    ENUMDATA *pEnum = (ENUMDATA *)pvUser;
    810810
    811811    /* Included in the enumeration? */
     
    905905    if (RT_SUCCESS(rc))
    906906    {
    907         EnumData EnumData;
     907        ENUMDATA EnumData;
    908908        EnumData.pszPattern = szPatterns;
    909909        EnumData.pchCur     = pchBuf;
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