Mark variables that might be unused under some configurations
Silence compiler warnings. Pick-to: 6.1 Change-Id: I857cf2ee177eecf305e4fa14f6b69b019ce85468 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
65e3dc5eac
commit
fa3b672f99
@ -290,8 +290,8 @@ void tst_QCollator::compare()
|
||||
collator.setNumericMode(true);
|
||||
|
||||
int keyCompareResult = result;
|
||||
int keyCompareCaseInsensitiveResult = caseInsensitiveResult;
|
||||
int keyComparePunctuationResultResult = punctuationResult;
|
||||
[[maybe_unused]]int keyCompareCaseInsensitiveResult = caseInsensitiveResult;
|
||||
[[maybe_unused]]int keyComparePunctuationResultResult = punctuationResult;
|
||||
|
||||
// trying to deal with special behavior of different OS-dependent collators
|
||||
if (collator.locale() == QLocale("C")) {
|
||||
|
Loading…
Reference in New Issue
Block a user