Changeset 32988 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Oct 7, 2010 3:37:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/uuid-generic.cpp
r32979 r32988 249 249 RTDECL(int) RTUuidFromStr(PRTUUID pUuid, const char *pszString) 250 250 { 251 bool fHaveBraces; 252 251 253 /* 252 254 * Validate parameters. … … 255 257 AssertPtrReturn(pszString, VERR_INVALID_PARAMETER); 256 258 257 boolfHaveBraces = (pszString[0] == '{' && pszString[37] == '}');259 fHaveBraces = (pszString[0] == '{' && pszString[37] == '}'); 258 260 if (fHaveBraces) 259 261 pszString++; … … 418 420 RTDECL(int) RTUuidFromUtf16(PRTUUID pUuid, PCRTUTF16 pwszString) 419 421 { 422 bool fHaveBraces; 420 423 421 424 /* … … 425 428 AssertPtrReturn(pwszString, VERR_INVALID_PARAMETER); 426 429 427 boolfHaveBraces = (pwszString[0] == '{' && pwszString[37] == '}');430 fHaveBraces = (pwszString[0] == '{' && pwszString[37] == '}'); 428 431 if (fHaveBraces) 429 432 pwszString++;
Note:
See TracChangeset
for help on using the changeset viewer.