Skip to content

Commit

Permalink
Static code analyzer warnings pocoproject#2688
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-f committed Jun 17, 2022
1 parent ae00d05 commit 7f4bdca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Foundation/include/Poco/FIFOBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ class BasicFIFOBuffer
{
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;
}
Expand Down

0 comments on commit 7f4bdca

Please sign in to comment.