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@xxxxxxxxxx> --- edid-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) { -- 2.14.1