diff options
author | infirit <[email protected]> | 2014-11-08 01:48:22 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-28 08:51:51 +0100 |
commit | 9034e7ba7c225fde4349cc59c6ba242225290281 (patch) | |
tree | 486cc0d6b209034ba026f63c549bfeac362c4b24 /libmate-desktop/edid-parse.c | |
parent | f1a37e312cb30c23a2402a48a80470acee750011 (diff) | |
download | mate-desktop-9034e7ba7c225fde4349cc59c6ba242225290281.tar.bz2 mate-desktop-9034e7ba7c225fde4349cc59c6ba242225290281.tar.xz |
Fix warning and remove unused variable
Diffstat (limited to 'libmate-desktop/edid-parse.c')
-rw-r--r-- | libmate-desktop/edid-parse.c | 2 |
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)) { |