summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2006-01-08 17:35:59 +0000
committerPatrick Boettcher <devnull@localhost>2006-01-08 17:35:59 +0000
commit277153f6fdd7e856013675777f2e6606f1b4d4f1 (patch)
treed41c99638416254d02822a06abc137e167afca00 /linux
parent6f81a0b73f54877119c581f646a123334bc3a5f9 (diff)
downloadmediapointer-dvb-s2-277153f6fdd7e856013675777f2e6606f1b4d4f1.tar.gz
mediapointer-dvb-s2-277153f6fdd7e856013675777f2e6606f1b4d4f1.tar.bz2
drivers/media/dvb/frontends/bcm3510.c(258): warning #592: variable "ret" is used before its value is set
From: d binderman <dcb314@hotmail.com> 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 <pb@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/frontends/bcm3510.c2
1 files changed, 1 insertions, 1 deletions
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);