From 277153f6fdd7e856013675777f2e6606f1b4d4f1 Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Sun, 8 Jan 2006 17:35:59 +0000 Subject: drivers/media/dvb/frontends/bcm3510.c(258): warning #592: variable "ret" is used before its value is set From: d binderman just tried to compile kernel 2.6.15 with the Intel C compiler. It said drivers/media/dvb/frontends/bcm3510.c(258): warning #592: variable "ret" is used before its value is set Signed-off-by: Patrick Boettcher --- linux/drivers/media/dvb/frontends/bcm3510.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb/frontends') diff --git a/linux/drivers/media/dvb/frontends/bcm3510.c b/linux/drivers/media/dvb/frontends/bcm3510.c index 0b550e120..925e4575f 100644 --- a/linux/drivers/media/dvb/frontends/bcm3510.c +++ b/linux/drivers/media/dvb/frontends/bcm3510.c @@ -255,7 +255,7 @@ static int bcm3510_bert_reset(struct bcm3510_state *st) bcm3510_register_value b; int ret; - if ((ret < bcm3510_readB(st,0xfa,&b)) < 0) + if ((ret = bcm3510_readB(st,0xfa,&b)) < 0) return ret; b.BERCTL_fa.RESYNC = 0; bcm3510_writeB(st,0xfa,b); -- cgit v1.2.3