VirtualBox

Changeset 22515 in vbox


Ignore:
Timestamp:
Aug 27, 2009 12:40:46 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: prevent warning in release mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxUtils-darwin.h

    r21036 r22515  
    204204
    205205/* Asserts if a != noErr and prints the error code */
    206 #  define AssertCarbonOSStatus(a) AssertMsg ((a) == noErr, ("Carbon OSStatus: %d\n", static_cast<int> (a)))
     206#  define AssertCarbonOSStatus(a) \
     207#   ifdef RT_STRICT \
     208     AssertMsg ((a) == noErr, ("Carbon OSStatus: %d\n", static_cast<int> (a))) \
     209#   else \
     210     do { NOREF(a) } while (0) \
     211#   endif
    207212
    208213
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