From: Manu Abraham Date: Wed, 17 Jun 2009 19:48:17 +0000 (-0300) Subject: V4L/DVB (12130): Fix a redundant compiler warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0a5ded56fd3f4096681f8e6a249fb058485f4e46;p=linux-beck.git V4L/DVB (12130): Fix a redundant compiler warning drivers/media/dvb/frontends/stv090x.c: In function ‘stv090x_optimize_carloop_short’: drivers/media/dvb/frontends/stv090x.c:2677: warning: ‘short_crl’ may be used uninitialized in this function Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/stv090x.c b/drivers/media/dvb/frontends/stv090x.c index 96ef745a2e4e..4e89bb02bff3 100644 --- a/drivers/media/dvb/frontends/stv090x.c +++ b/drivers/media/dvb/frontends/stv090x.c @@ -2674,7 +2674,7 @@ static u8 stv090x_optimize_carloop(struct stv090x_state *state, enum stv090x_mod static u8 stv090x_optimize_carloop_short(struct stv090x_state *state) { - struct stv090x_short_frame_crloop *short_crl; + struct stv090x_short_frame_crloop *short_crl = NULL; s32 index = 0; u8 aclc = 0x0b;