V4L/DVB (10912): vivi: fix compile warning.
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 6 Mar 2009 12:58:12 +0000 (09:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:15 +0000 (12:43 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/vivi.c

index 980620f411f0dd5b1241b3af37f1119c7c3ea991..fbfefae7886fac4cfc337a9d66b591ed9880fa11 100644 (file)
@@ -1406,7 +1406,7 @@ free_dev:
  */
 static int __init vivi_init(void)
 {
-       int ret, i;
+       int ret = 0, i;
 
        if (n_devs <= 0)
                n_devs = 1;