summaryrefslogtreecommitdiff
path: root/libmate-desktop/edid-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop/edid-parse.c')
-rw-r--r--libmate-desktop/edid-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-desktop/edid-parse.c b/libmate-desktop/edid-parse.c
index 842e327..8b2393f 100644
--- a/libmate-desktop/edid-parse.c
+++ b/libmate-desktop/edid-parse.c
@@ -331,7 +331,7 @@ static int decode_standard_timings(const uchar* edid, MonitorInfo* info)
if (first != 0x01 && second != 0x01)
{
int w = 8 * (first + 31);
- int h;
+ int h = 0;
switch (get_bits(second, 6, 7))
{