It is useless to initialize screen_count, but it prevents a gcc warning.
---
 src/screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/screen.c b/src/screen.c
index 240b876..fe01a35 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -233,7 +233,7 @@ void
 init_screens (void)
 {
   int i;
-  int screen_count;
+  int screen_count = 0;
   int *rr_outputs = NULL;
   rp_screen *screen;
 
-- 
2.10.0


_______________________________________________
Ratpoison-devel mailing list
Ratpoison-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/ratpoison-devel

Reply via email to