[umbrello-devel] [umbrello] [Bug 340646] Fix issues reported by Coverity scan

Ralf Habacker ralf.habacker at freenet.de
Fri Apr 17 07:21:55 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=340646

--- Comment #65 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 2cfaebafbd709483956c24766c27df499a7aa452 by Ralf Habacker.
Committed on 14/04/2015 at 13:23.
Pushed by habacker into branch 'master'.

Coverity check of master at e2a24e0, CID 88343: Logical vs. bitwise operator
(CONSTANT_EXPRESSION_RESULT)

logical_vs_bitwise: The expression me->button() == Qt::LeftButton &&
Qt::KeyboardModifiers(me->modifiers()).operator int() && true /*
Qt::ControlModifier */
is suspicious because it performs a Boolean operation on a constant other than
0 or 1.

M  +6    -0    umbrello/dialogs/pages/generaloptionpage.cpp
M  +1    -0    umbrello/dialogs/pages/generaloptionpage.h
M  +1    -0    umbrello/optionstate.h
M  +5    -0    umbrello/umbrello.kcfg
M  +1    -1    umbrello/widgets/associationwidget.cpp

http://commits.kde.org/umbrello/2cfaebafbd709483956c24766c27df499a7aa452

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list