Remove warnings with GCC 7
GCC 7 introduced a new warning in switch() statements : warning: this statement may fall through [-Wimplicit-fallthrough=]
This commit is contained in:
@@ -235,6 +235,7 @@ void Window_set_shortcut(int action_id)
|
||||
case 1: // Cancel
|
||||
shortcut_ptr[0]=backup_shortcut[0];
|
||||
shortcut_ptr[1]=backup_shortcut[1];
|
||||
break;
|
||||
case 2: // OK
|
||||
// Replace twice by single
|
||||
if (shortcut_ptr[0]==shortcut_ptr[1])
|
||||
|
||||
Reference in New Issue
Block a user