mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Resolve compiler warnings for unused return values
* Fixes #1932 - See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425#c29 Adding a negation before the function call allows the (void) syntax to work properly.
This commit is contained in:
@@ -235,7 +235,7 @@ void TestKeys::benchmarkTransformKey()
|
||||
|
||||
QBENCHMARK
|
||||
{
|
||||
Q_UNUSED(compositeKey->transform(kdf, result));
|
||||
Q_UNUSED(!compositeKey->transform(kdf, result));
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user