diff options
author | Sylwester Nawrocki <sylvester.nawrocki@gmail.com> | 2013-08-18 15:05:19 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-24 03:17:50 -0400 |
commit | fbbb29a671b5082c9ffafed0d1b5f0ae52b83452 (patch) | |
tree | f479edda2ead1643f83c294e53b69b5a5da0cfd8 /drivers/media/v4l2-core | |
parent | c0d9644fa01892653bc9e31ef4296e78f8d8c1ca (diff) |
[media] v4l2-ctrl: Suppress build warning from v4l2_ctrl_new_std_menu()
Prevent following build warning:
drivers/media/v4l2-core/v4l2-ctrls.c: In function v4l2_ctrl_new_std_menu:
drivers/media/v4l2-core/v4l2-ctrls.c:1768:15: warning: 'qmenu_int_len' may be used uninitialized in this function
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Cc: Arun Kumar K <arun.kk@samsung.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/v4l2-core')
-rw-r--r-- | drivers/media/v4l2-core/v4l2-ctrls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c b/drivers/media/v4l2-core/v4l2-ctrls.c index c6dc1fd427d7..c3f080388684 100644 --- a/drivers/media/v4l2-core/v4l2-ctrls.c +++ b/drivers/media/v4l2-core/v4l2-ctrls.c | |||
@@ -1763,9 +1763,9 @@ struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl, | |||
1763 | { | 1763 | { |
1764 | const char * const *qmenu = NULL; | 1764 | const char * const *qmenu = NULL; |
1765 | const s64 *qmenu_int = NULL; | 1765 | const s64 *qmenu_int = NULL; |
1766 | unsigned int qmenu_int_len = 0; | ||
1766 | const char *name; | 1767 | const char *name; |
1767 | enum v4l2_ctrl_type type; | 1768 | enum v4l2_ctrl_type type; |
1768 | unsigned int qmenu_int_len; | ||
1769 | s32 min; | 1769 | s32 min; |
1770 | s32 step; | 1770 | s32 step; |
1771 | u32 flags; | 1771 | u32 flags; |