summaryrefslogtreecommitdiff
path: root/drivers/media/video/usbvideo/quickcam_messenger.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-05-19 13:08:09 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 02:00:36 -0300
commitd6144028af6b151018c50c160e794a4d7f686333 (patch)
tree39f1596643e5a394398a319fd31758169e6cf32f /drivers/media/video/usbvideo/quickcam_messenger.c
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/quickcam_messenger.c')
-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,
u16 saturation, u16 value)
{
int ret;
- u16 r,g,b;
+ u16 r=0,g=0,b=0;
/* this code is based on qc-usb-messenger */
qcm_hsv2rgb(hue, saturation, value, &r, &g, &b);