https://bugs.kde.org/show_bug.cgi?id=366763
Bug ID: 366763 Summary: kio-extras-16.07.80/sftp/kio_sftp.cpp:1249]: (style) Suspicious condition Product: kio-extras Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: default Assignee: plasma-devel@kde.org Reporter: dcb...@hotmail.com kio-extras-16.07.80/sftp/kio_sftp.cpp:1249]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses. Source code is } else if ((errorCode = writeToFile(fd, filedata.constData(), filedata.size()) != 0)) { Suggest new code } else if ((errorCode = writeToFile(fd, filedata.constData(), filedata.size())) != 0) { Reproducible: Always -- You are receiving this mail because: You are the assignee for the bug.