mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 08:31:43 +02:00
Static code analyzer warnings #2688
This commit is contained in:
@@ -418,8 +418,8 @@ public:
|
|||||||
{
|
{
|
||||||
bool f = false;
|
bool f = false;
|
||||||
Mutex::ScopedLock lock(_mutex);
|
Mutex::ScopedLock lock(_mutex);
|
||||||
if (error && isReadable() && _notify) readable.notify(this, f);
|
if (isReadable() && _notify) readable.notify(this, f);
|
||||||
if (error && isWritable() && _notify) writable.notify(this, f);
|
if (isWritable() && _notify) writable.notify(this, f);
|
||||||
_error = error;
|
_error = error;
|
||||||
_used = 0;
|
_used = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user