Static code analyzer warnings #2688

This commit is contained in:
Alex Fabijanic 2022-06-17 22:36:16 +02:00
parent ae00d05006
commit 7f4bdca6e0

View File

@ -418,8 +418,8 @@ public:
{
bool f = false;
Mutex::ScopedLock lock(_mutex);
if (error && isReadable() && _notify) readable.notify(this, f);
if (error && isWritable() && _notify) writable.notify(this, f);
if (isReadable() && _notify) readable.notify(this, f);
if (isWritable() && _notify) writable.notify(this, f);
_error = error;
_used = 0;
}