VirtualBox

Changeset 60054 in vbox for trunk/src/VBox/Runtime/generic


Ignore:
Timestamp:
Mar 15, 2016 9:46:31 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
106038
Message:

never use AssertStmt(..., continue) but use AssertContinue(...) (look at the implementation of AssertStmt)

File:
1 edited

Legend:

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

    r59396 r60054  
    10491049{
    10501050    CFStringRef hStrProxyType = (CFStringRef)CFDictionaryGetValue(hDictProxy, kCFProxyTypeKey);
    1051     AssertStmt(hStrProxyType, continue);
     1051    AssertContinue(hStrProxyType);
    10521052
    10531053    /*
     
    11601160    {
    11611161        CFDictionaryRef hDictProxy = (CFDictionaryRef)CFArrayGetValueAtIndex(hArrayProxies, i);
    1162         AssertStmt(hDictProxy, continue);
     1162        AssertContinue(hDictProxy);
    11631163
    11641164        rcRet = rtHttpDarwinTryConfigProxy(pThis, hDictProxy, hUrlTarget, fIgnorePacType);
     
    12081208        {
    12091209            CFStringRef hStr = (CFStringRef)CFArrayGetValueAtIndex(hArray, i);
    1210             AssertStmt(hStr, continue);
    1211             AssertStmt(CFStringGetCString(hStr, szTmp, sizeof(szTmp), kCFStringEncodingUTF8), continue);
     1210            AssertContinue(hStr);
     1211            AssertContinue(CFStringGetCString(hStr, szTmp, sizeof(szTmp), kCFStringEncodingUTF8));
    12121212            RTStrToLower(szTmp);
    12131213
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