summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-04-19 20:21:03 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-19 20:21:03 +0000
commit91ebcf14b8f1d729a2b5c28f23aa2165ccaf2ee1 (patch)
tree19bd76523a4f1d75718e73a48d3e6c6ecdd440ef /linux/drivers/media
parentd11015309b20086d70d49ef788bc935f0225144a (diff)
downloadmediapointer-dvb-s2-91ebcf14b8f1d729a2b5c28f23aa2165ccaf2ee1.tar.gz
mediapointer-dvb-s2-91ebcf14b8f1d729a2b5c28f23aa2165ccaf2ee1.tar.bz2
av7110_hw: fix compile warning
From: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110_hw.c b/linux/drivers/media/dvb/ttpci/av7110_hw.c
index 276be4056..9c91e3b88 100644
--- a/linux/drivers/media/dvb/ttpci/av7110_hw.c
+++ b/linux/drivers/media/dvb/ttpci/av7110_hw.c
@@ -1089,7 +1089,7 @@ int av7110_osd_cmd(struct av7110 *av7110, osd_cmd_t *dc)
else {
int i, len = dc->x0-dc->color+1;
u8 __user *colors = (u8 __user *)dc->data;
- u8 r, g, b, blend;
+ u8 r, g = 0, b = 0, blend = 0;
ret = 0;
for (i = 0; i<len; i++) {
if (get_user(r, colors + i * 4) ||