https://bugs.kde.org/show_bug.cgi?id=384425
Bug ID: 384425
Summary: digikam-5.7.0/core/libs/rawengine/libraw/samples/dcraw
_emu.cpp:468]: (style) Suspicious condition
Product: digikam
Version: 5.7.0
Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
digikam-5.7.0/core/libs/rawengine/libraw/samples/dcraw_emu.cpp:468]: (style)
Suspicious condition (assignment + comparison); Clarify expression with
parentheses.
Source code is
if( (ret = RawProcessor.open_buffer(iobuffer,st.st_size) !=
LIBRAW_SUCCESS))
Maybe better code
if( (ret = RawProcessor.open_buffer(iobuffer,st.st_size)) !=
LIBRAW_SUCCESS)
--
You are receiving this mail because:
You are watching all bug changes.