JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
clang warning and remove port stuff
authorMarco Peereboom <marco@conformal.com>
Tue, 25 Oct 2011 20:19:02 +0000 (15:19 -0500)
committerMarco Peereboom <marco@conformal.com>
Tue, 25 Oct 2011 20:19:02 +0000 (15:19 -0500)
scrotwm.c

index f03445b..9e4b770 100644 (file)
--- a/scrotwm.c
+++ b/scrotwm.c
@@ -4821,7 +4821,8 @@ setautorun(char *selector, char *value, int flags)
 int
 setlayout(char *selector, char *value, int flags)
 {
-       int                     ws_id, st, i, x, mg, ma, si, raise;
+       int                     ws_id, i, x, mg, ma, si, raise;
+       int                     st = SWM_V_STACK;
        char                    s[1024];
        struct workspace        *ws;
 
@@ -5461,7 +5462,6 @@ buttonpress(XEvent *e)
 
        DNPRINTF(SWM_D_EVENT, "buttonpress: window: %lu\n", ev->window);
 
-       action = root_click;
        if ((win = find_window(ev->window)) == NULL)
                return;