https://bugs.kde.org/show_bug.cgi?id=404474

Michael Pyne <mp...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.57
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://commits.kde.org/kio
                   |                            |/920d2c4ca7d59695205c1b3675
                   |                            |f9a1efa89dd966

--- Comment #5 from Michael Pyne <mp...@kde.org> ---
Git commit 920d2c4ca7d59695205c1b3675f9a1efa89dd966 by Michael Pyne.
Committed on 24/03/2019 at 17:12.
Pushed by mpyne into branch 'master'.

kjobs: Fix compiler warning for uninit value in SimpleJobPrivate.

GCC 8.2 gives a warning about using an uninitialized value in
SimpleJobPrivate, in a factory function for SimpleJobs that can also
apply relevant JobFlags based on the job's command.

The warning is because the compiler is unable to recognize that the
'command' flag is only able to take the three listed values in this
codepath. Warning fixed by adding a default case.
FIXED-IN: 5.57

Differential Revision: https://phabricator.kde.org/D20008

M  +2    -0    src/core/job_p.h

https://commits.kde.org/kio/920d2c4ca7d59695205c1b3675f9a1efa89dd966

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to