| Summary: |
kio-extras-16.07.80/sftp/kio_sftp.cpp:1249]: (style) Suspicious condition |
| Product: |
[Frameworks and Libraries] kio-extras
|
Reporter: |
dcb314 |
| Component: |
default | Assignee: |
Plasma Development Mailing List <plasma-devel> |
| Status: |
RESOLVED
FIXED
|
|
|
| Severity: |
normal
|
|
|
| Priority: |
NOR
|
|
|
| Version First Reported In: |
unspecified | |
|
| Target Milestone: |
--- | |
|
| Platform: |
Other | |
|
| OS: |
Linux | |
|
|
Latest Commit:
|
http://commits.kde.org/kio-extras/c7049eb74086986d7b59dedefc7036ce9cc7440b
|
Version Fixed/Implemented In:
|
|
|
Sentry Crash Report:
|
|
| |
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