| Summary: | kio_sftp.cpp:1239]: (style) Suspicious condition | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] kio-extras | Reporter: | dcb314 |
| Component: | default | Assignee: | Plasma Development Mailing List <plasma-devel> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | RedHat Enterprise Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Replaced with bug 364381. |
../../../kioslave/sftp/kio_sftp.cpp:1239]: (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