Skip to content

Commit

Permalink
Fix -Wswitch warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-drexler committed Sep 3, 2024
1 parent 05a04b4 commit 252f492
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Quake/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -6945,6 +6945,7 @@ void M_Draw (void)

switch (M_GetBaseState (m_state))
{
default:
case m_none:
break;

Expand Down Expand Up @@ -7066,6 +7067,7 @@ void M_Keydown (int key)

switch (M_GetBaseState (m_state))
{
default:
case m_none:
return;

Expand Down

0 comments on commit 252f492

Please sign in to comment.