v4l2src: Address unused but set variable
authorRobert Swain <robert.swain@collabora.co.uk>
Fri, 15 Apr 2011 13:47:24 +0000 (15:47 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 16 Apr 2011 12:15:03 +0000 (13:15 +0100)
commite02b7e7fdf5160daa6223fd9d0bf463b9ae9abf2
tree9f69f9adb79a837d65f28ba4591095e57fd67ef6
parent75886ba63d13ee590f24b1c779889aea2259ad44
v4l2src: Address unused but set variable

The v4l2object formats list was being obtained into a local variable and
then still used from the context. Make use of the local variable.
sys/v4l2/gstv4l2src.c