Skip to content
Snippets Groups Projects

vkd3d: Add a macro to mark unreachable code.

Merged Giovanni Mascellani requested to merge giomasce/vkd3d:unreachable2 into master

This should silence warnings about some branches non returning any value without requiring additional "return 0" statement or similar.

Also, in theory this might enable to compiler to optimize the program a little bit more, though that's unlikely to have any measurable effect.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading