summaryrefslogtreecommitdiff
path: root/drivers/media/video/usbvideo/quickcam_messenger.c
diff options
context:
space:
mode:
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);