[hackers] [wmii] Add a missing 'break' statement.

From: Kris Maglione <jg_AT_suckless.org>
Date: Fri, 01 Jun 2007 01:10:27 -0000

changeset: 2131:49c6da41bba5
user: Kris Maglione <jg_AT_suckless.org>
date: Wed Apr 25 17:48:44 2007 -0400
summary: Add a missing 'break' statement.

diff -r 53f710aedb4d -r 49c6da41bba5 cmd/wmii/message.c
--- a/cmd/wmii/message.c Wed Apr 25 17:37:33 2007 -0400
+++ b/cmd/wmii/message.c Wed Apr 25 17:48:44 2007 -0400
@@ -365,16 +365,18 @@ send_frame(Frame *f, int sym, Bool swap)
 
         switch(sym) {
         case LUP:
- fp = f->aprev;
- if(!fp)
- return Ebadvalue;
- fp = fp->aprev;
- break;
+ fp = f->aprev;
+ if(!fp)
+ return Ebadvalue;
+ fp = fp->aprev;
+ break;
         case LDOWN:
- fp = f->anext;
- if(!fp)
- return Ebadvalue;
- break;
+ fp = f->anext;
+ if(!fp)
+ return Ebadvalue;
+ break;
+ default:
+ assert(!"can't get here");
         }
 
         if(swap) {
@@ -427,6 +429,7 @@ send_client(View *v, Message *m, Bool sw
                         to = c->revert;
                 else
                         to = v->area->next;
+ break;
         case LUP:
         case LDOWN:
                 return send_frame(f, sym, swap);
Received on Fri Jun 01 2007 - 03:10:26 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:07 UTC