• Hans Verkuil's avatar
    V4L/DVB (13522): valj5jf8007s/t: fix compile warnings · 289a774b
    Hans Verkuil authored
    Trivial fix for these bogus compile warnings:
    
    v4l/va1j5jf8007s.c: In function 'va1j5jf8007s_tune':
    v4l/va1j5jf8007s.c:394: warning: 'lock' may be used uninitialized in this function
    v4l/va1j5jf8007t.c: In function 'va1j5jf8007t_tune':
    v4l/va1j5jf8007t.c:273: warning: 'lock' may be used uninitialized in this function
    v4l/va1j5jf8007t.c:273: warning: 'retry' may be used uninitialized in this function
    
    These variables are never used uninitialized, but the compiler couldn't
    figure that out unfortunately.
    Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    289a774b
va1j5jf8007t.c 10.8 KB