[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RP] [PATCH 5/6] Kill gcc uninitialized warning
From: |
Mathieu OTHACEHE |
Subject: |
[RP] [PATCH 5/6] Kill gcc uninitialized warning |
Date: |
Fri, 25 Nov 2016 15:35:22 +0100 |
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
- [RP] [PATCH 3/6] Disable sfdump if there is no xrandr support., (continued)
- [RP] [PATCH 3/6] Disable sfdump if there is no xrandr support., Mathieu OTHACEHE, 2016/11/25
- Re: [RP] [PATCH 3/6] Disable sfdump if there is no xrandr support., Jeremie Courreges-Anglas, 2016/11/26
- Re: [RP] [PATCH 3/6] Disable sfdump if there is no xrandr support., Mathieu OTHACEHE, 2016/11/27
- Re: [RP] [PATCH 3/6] Disable sfdump if there is no xrandr support., Jeremie Courreges-Anglas, 2016/11/27
- Re: [RP] [PATCH 3/6] Disable sfdump if there is no xrandr support., Mathieu OTHACEHE, 2016/11/27
- Re: [RP] [PATCH 3/6] Disable sfdump if there is no xrandr support., Jeremie Courreges-Anglas, 2016/11/27
- Re: [RP] [PATCH 3/6] Disable sfdump if there is no xrandr support., Mathieu OTHACEHE, 2016/11/28
- Re: [RP] [PATCH 3/6] Disable sfdump if there is no xrandr support., |cos|, 2016/11/27
- Re: [RP] [PATCH 3/6] Disable sfdump if there is no xrandr support., Mathieu OTHACEHE, 2016/11/28
[RP] [PATCH 2/6] Use xrandr output identifiers in sselect., Mathieu OTHACEHE, 2016/11/25
[RP] [PATCH 5/6] Kill gcc uninitialized warning,
Mathieu OTHACEHE <=
[RP] [PATCH 4/6] Use xrandr output identifiers in srestore., Mathieu OTHACEHE, 2016/11/25
[RP] [PATCH 6/6] Update XRandr related documentation and man., Mathieu OTHACEHE, 2016/11/25