v4l2-ctl: zero all structs before use.
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 15 Dec 2010 13:29:34 +0000 (14:29 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Wed, 15 Dec 2010 13:32:12 +0000 (14:32 +0100)
commit0ef969bf1064913bb9334323791394b50abef38a
treeaf48c0f6c7b11c9dc0ce8d8ea24e63e9df32d0e8
parente9e13a034ff1d03cf21c2b193e60f6f29ac98599
v4l2-ctl: zero all structs before use.

When compiled with -Wextra the compiler produces lots of warnings about missing
initializers. So instead of using partial initializers we memset the structs.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-ctl/v4l2-ctl.cpp