diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-06-26 08:56:09 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-06-26 08:56:09 +0200 |
commit | a4c5c6c582583fcb31b975ebacd779ea0c8e5eae (patch) | |
tree | 4b906cde2117f617d16404207730c25b673a5791 /linux/drivers/media/video | |
parent | d82f58cadb63e341c4fba03c3ce32b61af69108d (diff) | |
download | mediapointer-dvb-s2-a4c5c6c582583fcb31b975ebacd779ea0c8e5eae.tar.gz mediapointer-dvb-s2-a4c5c6c582583fcb31b975ebacd779ea0c8e5eae.tar.bz2 |
v4l2-common: fix uninitialized variable
From: Hans Verkuil <hverkuil@xs4all.nl>
Fix compiler warning for uninitialized variable when compiling for pre
2.6.26 kernels.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/v4l2-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/v4l2-common.c b/linux/drivers/media/video/v4l2-common.c index ab91734b1..864ee0772 100644 --- a/linux/drivers/media/video/v4l2-common.c +++ b/linux/drivers/media/video/v4l2-common.c @@ -1066,7 +1066,7 @@ struct v4l2_subdev *v4l2_i2c_new_subdev_cfg(struct v4l2_device *v4l2_dev, u8 addr, const unsigned short *probe_addrs) { struct v4l2_subdev *sd = NULL; - struct i2c_client *client; + struct i2c_client *client = NULL; BUG_ON(!v4l2_dev); |