changeset 37061:a5c95b14d0db

Add a break statement (for the sake of clarity).
author ib
date Tue, 22 Apr 2014 14:08:33 +0000
parents cbc73d32870f
children 066c6171a05c
files gui/ui/actions.c gui/wm/ws.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/actions.c	Tue Apr 22 14:02:22 2014 +0000
+++ b/gui/ui/actions.c	Tue Apr 22 14:08:33 2014 +0000
@@ -458,6 +458,7 @@
         case 1:
         default:
             aspect = -1;
+            break;
         }
 
         snprintf(cmd, sizeof(cmd), "pausing_keep switch_ratio %f", aspect);
--- a/gui/wm/ws.c	Tue Apr 22 14:02:22 2014 +0000
+++ b/gui/wm/ws.c	Tue Apr 22 14:08:33 2014 +0000
@@ -1076,7 +1076,7 @@
         break;
 
     default:
-        ;
+        break;
     }
 
     if (r == -1 && g == -1 && b == -1) {