Re: dib0700_core.c: uninitialized variable warning, not sure how to fix

2016-11-10 Thread Sean Young
On Thu, Nov 10, 2016 at 08:49:43AM +0100, Hans Verkuil wrote: > The daily build produces this compiler warning: > > dib0700_core.c: In function 'dib0700_rc_urb_completion': > dib0700_core.c:787:2: warning: 'protocol' may be used uninitialized in this > function [-Wmaybe-uninitialized] >

dib0700_core.c: uninitialized variable warning, not sure how to fix

2016-11-09 Thread Hans Verkuil
The daily build produces this compiler warning: dib0700_core.c: In function 'dib0700_rc_urb_completion': dib0700_core.c:787:2: warning: 'protocol' may be used uninitialized in this function [-Wmaybe-uninitialized] rc_keydown(d->rc_dev, protocol, keycode, toggle);