VirtualBox

Changeset 20977 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Jun 26, 2009 2:38:55 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49184
Message:

API: weed out NULL strings, as many clients cannot use them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstAPI.cpp

    r20928 r20977  
    172172        RTPrintf ("Extra data value: {%ls}\n", extraData.raw());
    173173    } else {
    174         if (extraData.isNull())
    175             RTPrintf ("No extra data exists\n");
    176         else
    177             RTPrintf ("Extra data is empty\n");
     174        RTPrintf ("No extra data exists\n");
    178175    }
    179176
     
    194191            RTPrintf ("Extra data value: {%ls}\n", extraData.raw());
    195192        } else {
    196             if (extraData.isNull())
    197                 RTPrintf ("No extra data exists\n");
    198             else
    199                 RTPrintf ("Extra data is empty\n");
     193            RTPrintf ("No extra data exists\n");
    200194        }
    201195    }
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