Re: [SeaBIOS] hw/usb-msc.c: Branch condition evaluates to a garbage value

2016-08-30 Thread Kevin O'Connor
On Mon, Aug 29, 2016 at 07:03:25PM +0200, Paul Menzel wrote: > Dear SeaBIOS developers, > > > Building the attached configuration with GCC 5.3.0 and the static analyzer > scan-build shipped with Clang 3.8, the following error is reported in > `src/hw/usb-msc.c` in line 110. > > The static

[SeaBIOS] hw/usb-msc.c: Branch condition evaluates to a garbage value

2016-08-29 Thread Paul Menzel
Dear SeaBIOS developers, Building the attached configuration with GCC 5.3.0 and the static analyzer scan-build shipped with Clang 3.8, the following error is reported in `src/hw/usb-msc.c` in line 110. The static analyzer seems to think that the struct member is not initialized. But I