]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] horus3a: fix compiler warning
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 12 Aug 2015 07:14:28 +0000 (04:14 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 16 Aug 2015 16:30:25 +0000 (13:30 -0300)
commit38e6a417f6205e98bef53c5530f5fddfea08e1c6
tree7698545d4f1e4b8290038b692681b9e0df8ff0c7
parent82fde1a98eb9866347a1d3543fac4ab9a69aeb7d
[media] horus3a: fix compiler warning

Shut up this compiler warning that I get during the daily build:

horus3a.c: In function 'horus3a_set_params':
horus3a.c:308:24: warning: 'rolloff' may be used uninitialized in this function [-Wmaybe-uninitialized]
     symbol_rate * (100 + rolloff), 200000) + 5;
                        ^

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/horus3a.c