diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-09-03 11:48:39 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-09-03 19:10:42 +0200 |
commit | b05a2768c2fb166bdca8f05a6833409fe5a40ee6 (patch) | |
tree | 07f9bc87fa1c585e9d4e00d0a89c95bcba690c84 /tests/auto/corelib | |
parent | 54ea62756a7b0d47370551b0ec07f602cb341228 (diff) |
Fix warning from testing assignment
Tests that do
QTRY_VERIFY(a = b);
generate a compiler warning:
using the result of an assignment as a condition without parentheses
[-Wparentheses]: place parentheses around the assignment to silence
this warning
Do that centrally in the QTRY_TIMEOUT_DEBUG_IMPL macro definition.
Pick-to: 6.4
Change-Id: I4a4b0161c4e16c0e1e27a68f33a41efdaa2c962c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib')
0 files changed, 0 insertions, 0 deletions