mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-02 09:49:48 +02:00
Static code analyzer warnings #2688
This commit is contained in:
parent
ae00d05006
commit
7f4bdca6e0
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user