Skip to content
Commit 70f2dc85 authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

smb: apply a whole bunch of static analyzer improvements

Summary:
among other things:

- {} initialize the posix structs
- =default d/ctors where appropriate
- synced argument names between header and cpp
- no c-style casting
- while(true) instead of while(1)
- initialize class members that could previously have gone uninitialized
- no single-line-multi-variable declaration

Test Plan: builds

Reviewers: ngraham

Reviewed By: ngraham

Subscribers: kde-frameworks-devel, kfm-devel

Tags: #dolphin, #frameworks

Differential Revision: https://phabricator.kde.org/D27646
parent 60c9ac5a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment