diff options
Diffstat (limited to 'results/scraper/launchpad/1279257')
| -rw-r--r-- | results/scraper/launchpad/1279257 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/results/scraper/launchpad/1279257 b/results/scraper/launchpad/1279257 new file mode 100644 index 000000000..34d326819 --- /dev/null +++ b/results/scraper/launchpad/1279257 @@ -0,0 +1,16 @@ +[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. + +Looks like this has been fixed here already: +http://git.qemu.org/?p=qemu.git;a=commitdiff;h=7ef8cf9a0861b6f67f5e + + |