VirtualBox

Changeset 20878 in vbox for trunk/src/VBox/Runtime/include


Ignore:
Timestamp:
Jun 24, 2009 7:02:01 AM (15 years ago)
Author:
vboxsync
Message:

gcc warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/alignmentchecks.h

    r20848 r20878  
    5252
    5353# define IPRT_ALIGNMENT_CHECKS_DISABLE() \
    54     if (g_fRTAlignmentChecks) ASMSetFlags(ASMGetFlags() & ~RT_BIT_32(18)); else do {} while (0)
     54    do { if (g_fRTAlignmentChecks) ASMSetFlags(ASMGetFlags() & ~RT_BIT_32(18)); } while (0)
    5555
    5656# define IPRT_ALIGNMENT_CHECKS_ENABLE() \
    57     if (g_fRTAlignmentChecks) ASMSetFlags(ASMGetFlags() | RT_BIT_32(18)); else do {} while (0)
     57    do { if (g_fRTAlignmentChecks) ASMSetFlags(ASMGetFlags() | RT_BIT_32(18)); } while (0)
    5858
    5959#else
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