summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1279257
blob: 196392bdd2d5e8bc9a97bc15f4556089ad462a82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
[hw/scsi/scsi-bus.c:910]: (style) Expression '(X & 0x4) == 0x1' is always false.

Source code is

       } else if ((buf[1] & 4) == 1) {

Suggest code rework. I found this bug by running
static analyser cppcheck over the source code.

I also checked the latest code on the web and the
bug exists there also.