diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2018-08-02 23:11:02 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2018-08-08 17:30:12 +0000 |
commit | 24115f5a9ceb6b87465d5a14566b655ae66bba8c (patch) | |
tree | 6369de2979d65f584e05d8f6c07e784b9c8ef23b /qmake/generators/metamakefile.cpp | |
parent | d25d11e6e2fd08f117825a06f1bdf3928d057fb8 (diff) |
qmake: Avoid comparison of values with different enumeration types
A switch statement using enumeration type midlErrorCheckOption as
condition had an enumeration value from type midlStructMemberAlignOption
as a case label. This had only coincidentally the intended effect, since
the intended value (midlErrorCheckOption::midlEnableCustom) and the
actually used one
(midlStructMemberAlignOption::midlStructMemberAlignOption) have both
the value 0.
Change-Id: I73b337f23e733a1a6fb80517e29365e01838238a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'qmake/generators/metamakefile.cpp')
0 files changed, 0 insertions, 0 deletions