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 ddc03cb..7593f49 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -257,7 +257,7 @@ void
init_screens (void)
{
int i;
- int screen_count;
+ int screen_count = 0;
int *rr_outputs = NULL;
rp_screen *screen;
--
2.10.2
_______________________________________________
Ratpoison-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ratpoison-devel