]> git.lizzy.rs Git - bspwm.git/commitdiff
Remove unused variable
authorBastien Dejean <nihilhill@gmail.com>
Thu, 26 Sep 2013 17:18:05 +0000 (19:18 +0200)
committerBastien Dejean <nihilhill@gmail.com>
Thu, 26 Sep 2013 17:18:05 +0000 (19:18 +0200)
monitor.c

index f5dde8b2f45f359726c440a15111d99a0d2d40a6..04404252384756955a8a7752bfc1d42845db343d 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -237,7 +237,6 @@ bool import_monitors(void)
         return false;
 
     monitor_t *m, *mm = NULL;
-    unsigned int num = 0;
 
     int len = xcb_randr_get_screen_resources_current_outputs_length(sres);
     xcb_randr_output_t *outputs = xcb_randr_get_screen_resources_current_outputs(sres);
@@ -274,7 +273,6 @@ bool import_monitors(void)
                     mm->id = outputs[i];
                     PRINTF("add monitor %s (0x%X)\n", mm->name, mm->id);
                 }
-                num++;
             }
             free(cir);
         }