diff options
author | Jędrzej Nowacki <jedrzej.nowacki@qt.io> | 2019-03-12 09:22:15 +0100 |
---|---|---|
committer | Jędrzej Nowacki <jedrzej.nowacki@qt.io> | 2019-04-02 12:43:14 +0000 |
commit | b91e6f6f40864d54903d707d7f19a9732188b670 (patch) | |
tree | 89386ebd77aaf01158f79c00d3b957edf8aad575 /src/corelib/tools/qlocale_p.h | |
parent | b5f76eeb5310211f128ff312223f641711198af5 (diff) |
Issue a warning about unused result of qScopeGuard and QScopeGuard
If the result is unassigned then resulting QScopeGuard is destroyed
immediately, we can warn about it, as it is definitely a bug.
Change-Id: I627b05cecb3d0e62dbc24373e621f2be36d9b324
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/tools/qlocale_p.h')
0 files changed, 0 insertions, 0 deletions