VirtualBox

Ignore:
Timestamp:
Oct 11, 2017 4:11:23 PM (7 years ago)
Author:
vboxsync
Message:

Global: replace fall-through comments with RT_FALL_THRU().
bugref:8192: gcc warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_buffer.c

    r65643 r69046  
    195195                break; /* OK */
    196196#endif
    197         /* fall thru */
     197        RT_FALL_THRU();
    198198        default:
    199199            crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "Invalid sfactor passed to glBlendFunc: %d", sfactor);
     
    220220                break; /* OK */
    221221#endif
    222         /* fall thru */
     222        RT_FALL_THRU();
    223223        default:
    224224            crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "Invalid dfactor passed to glBlendFunc: %d", dfactor);
     
    291291                break; /* OK */
    292292#endif
    293         /* fall thru */
     293        RT_FALL_THRU();
    294294        default:
    295295            crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "Invalid sfactorRGB passed to glBlendFuncSeparateEXT: %d", sfactorRGB);
     
    317317                break; /* OK */
    318318#endif
    319         /* fall thru */
     319        RT_FALL_THRU();
    320320        default:
    321321            crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "Invalid sfactorA passed to glBlendFuncSeparateEXT: %d", sfactorA);
     
    345345                break; /* OK */
    346346#endif
    347         /* fall thru */
     347        RT_FALL_THRU();
    348348        default:
    349349            crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "Invalid dfactorRGB passed to glBlendFuncSeparateEXT: %d", dfactorRGB);
     
    373373                break; /* OK */
    374374#endif
    375         /* fall thru */
     375        RT_FALL_THRU();
    376376        default:
    377377            crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "Invalid dfactorA passed to glBlendFuncSeparateEXT: %d", dfactorA);
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