V4L/DVB (11569): av7110_hw: fix compile warning
authorAlexey Klimov <klimov.linux@gmail.com>
Sun, 19 Apr 2009 20:21:03 +0000 (17:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:20:37 +0000 (18:20 -0300)
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/ttpci/av7110_hw.c

index 5e3f889..e162691 100644 (file)
@@ -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) ||