diff options
Diffstat (limited to 'mailinglist/output_launchpad/1402802')
| -rw-r--r-- | mailinglist/output_launchpad/1402802 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mailinglist/output_launchpad/1402802 b/mailinglist/output_launchpad/1402802 new file mode 100644 index 00000000..95bbd1e6 --- /dev/null +++ b/mailinglist/output_launchpad/1402802 @@ -0,0 +1,18 @@ +target-tricore/translate.c:3812: possible bad expression ? + + +From a run of cppcheck, a static analysis checker, over the +source code of qemu trunk, dated 20141215, is the new error: + +[qemu/target-tricore/translate.c:3812]: (style) Expression '(X & 0x3f) == 0x6f' is always false. + +Source code is + + if (unlikely((op1 & 0x3f) == OPCM_32_BRN_JTT)) { + +Suggest code rework. + +Absolutly correct. The mask should be 0x7f. I will fix that asap. + +http://git.qemu.org/?p=qemu.git;a=commitdiff;h=7f13420ec000ad7644b65e + |