diff --git a/Tests/unit/IPTestAdministrator.cpp b/Tests/unit/IPTestAdministrator.cpp index 31435c865..6a8ea681d 100644 --- a/Tests/unit/IPTestAdministrator.cpp +++ b/Tests/unit/IPTestAdministrator.cpp @@ -207,7 +207,7 @@ uint32_t IPTestAdministrator::Signal(uint32_t expectedNextHandshakeValue, uint8_ break; default : result = ::Thunder::Core::ERROR_NONE; // Atomically replaces the current value by the expected value - bool oldHandshakeValue = _sharedData->handshakeValue.exchange(expectedNextHandshakeValue); + VARIABLE_IS_NOT_USED bool oldHandshakeValue = _sharedData->handshakeValue.exchange(expectedNextHandshakeValue); } return result;