https://bugs.kde.org/show_bug.cgi?id=397149
Bug ID: 397149
Summary: ktorrent-5.1.0/libktcore/plugin/pluginmanager.cpp:95:
bad if ?
Product: ktorrent
Version: 5.1
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
ktorrent-5.1.0/libktcore/plugin/pluginmanager.cpp:95]: (style) Boolean result
is used in bitwise operation. Clarify expression with parentheses.
Source code is
if (loaded.contains(idx) & !pi.isPluginEnabled())
Maybe better code
if (loaded.contains(idx) && !pi.isPluginEnabled())
--
You are receiving this mail because:
You are watching all bug changes.