diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-03-06 09:44:05 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-03-06 10:00:01 +0100 |
commit | 2de3bfced35ae060acffc06e66e18279de6f5099 (patch) | |
tree | e065fb927b82fc3a6f909836fef90f22adcd9399 /util/lexgen | |
parent | 249a2e3271c3cc36edb88c993d277d93de2cf1c0 (diff) |
Fix UB in QProcess deprecation warning fixes
The commits e1e08629 and 66e905b1 introduced undefined behavior. Fix
this by assigning the result of takeFirst to a temporary.
Change-Id: I9e29412cf632d4836b95d47e12d8c07ab0645fbb
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'util/lexgen')
0 files changed, 0 insertions, 0 deletions