diff mbox

[review] av7110_hw: fix compile warning

Message ID 1240172463.12537.7.camel@tux.localhost (mailing list archive)
State Accepted
Headers show

Commit Message

Alexey Klimov April 19, 2009, 8:21 p.m. UTC
One more warning fix.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
--
diff mbox

Patch

diff -r cda79523a93c linux/drivers/media/dvb/ttpci/av7110_hw.c
--- a/linux/drivers/media/dvb/ttpci/av7110_hw.c	Thu Apr 16 18:30:38 2009 +0200
+++ b/linux/drivers/media/dvb/ttpci/av7110_hw.c	Mon Apr 20 00:17:51 2009 +0400
@@ -1089,7 +1089,7 @@ 
 		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) ||