aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvideo
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-05-19 12:08:09 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:00:36 -0400
commitd6144028af6b151018c50c160e794a4d7f686333 (patch)
tree39f1596643e5a394398a319fd31758169e6cf32f /drivers/media/video/usbvideo
parent0463f12c5cdc3d5577002826c302471b95b2532c (diff)
V4L/DVB (4036): Fix some compilation warnings
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/usbvideo')
-rw-r--r--drivers/media/video/usbvideo/quickcam_messenger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/usbvideo/quickcam_messenger.c b/drivers/media/video/usbvideo/quickcam_messenger.c
index 8ad9f6af89af..3f3182a24da1 100644
--- a/drivers/media/video/usbvideo/quickcam_messenger.c
+++ b/drivers/media/video/usbvideo/quickcam_messenger.c
@@ -343,7 +343,7 @@ static int qcm_sensor_set_gains(struct uvd *uvd, u16 hue,
343 u16 saturation, u16 value) 343 u16 saturation, u16 value)
344{ 344{
345 int ret; 345 int ret;
346 u16 r,g,b; 346 u16 r=0,g=0,b=0;
347 347
348 /* this code is based on qc-usb-messenger */ 348 /* this code is based on qc-usb-messenger */
349 qcm_hsv2rgb(hue, saturation, value, &r, &g, &b); 349 qcm_hsv2rgb(hue, saturation, value, &r, &g, &b);