diff options
| author | Alex Trotsenko <alex1973tr@gmail.com> | 2021-06-02 16:03:31 +0300 |
|---|---|---|
| committer | Alex Trotsenko <alex1973tr@gmail.com> | 2021-06-03 00:38:05 +0300 |
| commit | 01639b7cc25aa9235eb86b072cd4aa1cfd767069 (patch) | |
| tree | dad6499fb2299696837926956b05a5dd451daccb /src/corelib/io/qprocess.cpp | |
| parent | 2b524528435047fe4b47991cb57ecfb5de5645b5 (diff) | |
QProcess: refine 'Channel' structure
- exclude unused notifier pointer on Windows;
- use default initialization for members;
- avoid bit fields in declarations as there are extra
padding bytes anyway.
Change-Id: I2e03c4c269c885c90c0a6d18b8a935885f4b3feb
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'src/corelib/io/qprocess.cpp')
| -rw-r--r-- | src/corelib/io/qprocess.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp index 878f52fd004..d5c2c8980b4 100644 --- a/src/corelib/io/qprocess.cpp +++ b/src/corelib/io/qprocess.cpp @@ -391,6 +391,8 @@ void QProcessPrivate::Channel::clear() process->stdoutChannel.type = Normal; process->stdoutChannel.process = nullptr; break; + default: + break; } type = Normal; |
