VirtualBox

Changeset 32988 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Oct 7, 2010 3:37:15 PM (14 years ago)
Author:
vboxsync
Message:

iprt: C warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/uuid-generic.cpp

    r32979 r32988  
    249249RTDECL(int)  RTUuidFromStr(PRTUUID pUuid, const char *pszString)
    250250{
     251    bool fHaveBraces;
     252
    251253    /*
    252254     * Validate parameters.
     
    255257    AssertPtrReturn(pszString, VERR_INVALID_PARAMETER);
    256258
    257     bool fHaveBraces = (pszString[0] == '{' && pszString[37] == '}');
     259    fHaveBraces = (pszString[0] == '{' && pszString[37] == '}');
    258260    if (fHaveBraces)
    259261        pszString++;
     
    418420RTDECL(int)  RTUuidFromUtf16(PRTUUID pUuid, PCRTUTF16 pwszString)
    419421{
     422    bool fHaveBraces;
    420423
    421424    /*
     
    425428    AssertPtrReturn(pwszString, VERR_INVALID_PARAMETER);
    426429
    427     bool fHaveBraces = (pwszString[0] == '{' && pwszString[37] == '}');
     430    fHaveBraces = (pwszString[0] == '{' && pwszString[37] == '}');
    428431    if (fHaveBraces)
    429432        pwszString++;
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