Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.11.3
-
None
-
-
4e680bee8680834353bd0f38dc6b6c9e9a86d8d8
Description
1.
qt-everywhere-src-5.11.3/qtbase/src/corelib/thread/qreadwritelock.cpp:626]: (style) Same expression on both sides of '&&'.
Source code is
Q_ASSERT(!d->waitingReaders && !d->waitingReaders && !d->readerCount && !d->writerCount);
Maybe better code
Q_ASSERT(!d->waitingReaders && !d->waitingWriters && !d->readerCount && !d->writerCount);