summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorAlexey Klimov <klimov.linux@gmail.com>2009-04-19 17:21:03 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:20:37 -0300
commit3763a8a41bd0c1ea6b055b60acaf5f9655e5c25e (patch)
tree91c4b0be416987cf1995709fec62e76361d2ab60 /drivers/media/dvb/ttpci
parentb5d14eba2ecce23a6a1663bc5bd36c08a011b601 (diff)
V4L/DVB (11569): av7110_hw: fix compile warning
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ttpci')
-rw-r--r--drivers/media/dvb/ttpci/av7110_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_hw.c b/drivers/media/dvb/ttpci/av7110_hw.c
index 5e3f88911a1d..e162691b515d 100644
--- a/drivers/media/dvb/ttpci/av7110_hw.c
+++ b/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) ||