diff options
Diffstat (limited to 'results/scraper/launchpad-without-comments/1715007')
| -rw-r--r-- | results/scraper/launchpad-without-comments/1715007 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1715007 b/results/scraper/launchpad-without-comments/1715007 new file mode 100644 index 000000000..e84a690f5 --- /dev/null +++ b/results/scraper/launchpad-without-comments/1715007 @@ -0,0 +1,16 @@ +hw/block/onenand.c:520: dead code ? + +qemu/hw/block/onenand.c:520] -> [qemu/hw/block/onenand.c:521]: (warning) Opposite inner 'if' condition leads to a dead code block. + +Source code is + + for (b = 0; b < s->blocks; b ++) { + if (b >= s->blocks) { + s->status |= ONEN_ERR_CMD; + break; + } + +I am not sure if the if condition can be merely deleted, or something more +complex needs to be implemented. + +Recent qemu trunk. \ No newline at end of file |