Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 4.15.0
-
-
e1a15b2db504a6f10d6480d81ed34a3cdd39a3c2 (qt-creator/qt-creator/6.0) f686bce68fb2d1e1de66642ce20e59bba25670ba (qt-creator/qt-creator/6.0) 39db18f96870d794004e2d52aa663ea05adf0070 (qt-creator/qt-creator/7.0)
Description
the M325 warning appears when doing the comparison in JavaScript.
warning: Logical value does not depend on actual values (M325)
I searched https://doc.qt.io/qtcreator/creator-checking-code-syntax.html and http://linterrors.com/js.
there is no explanation to guide the user on how to fix this warning.
This warning seems caused by referring invisible var(like ListView index)
Attachments
Issue Links
- relates to
-
QTCREATORBUG-27380 More invalid cases of M325
- Closed
- mentioned in
-
Page Loading...