Message ID | 93ffb19c3563c5f7fdd0bdb134de1c9e0c1956ba.1506443620.git.baruch@tkos.co.il (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/edid-decode.c b/edid-decode.c index 4abd79333d61..d3aafa926900 100644 --- a/edid-decode.c +++ b/edid-decode.c @@ -2397,7 +2397,7 @@ extension_version(unsigned char *x) static int parse_extension(unsigned char *x) { - int conformant_extension; + int conformant_extension = 0; printf("\n"); switch(x[0]) {
Fix the following warning: edid-decode.c: In function ‘main’: edid-decode.c:2962:26: warning: ‘conformant_extension’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Baruch Siach <baruch@tkos.co.il> --- edid-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)