Lucky hour! Grab a free trial license — offer ends in 00:59:58. Claim now
Analyzer has detected a potential error related to double negation of a variable. Such duplication is confused, and, most likely, contains an error.
Consider the following example:
if (!(( !filter )))
{
....
}
This error most likely appeared during code refactoring. For example, a part of a complex logical expression was removed while the negation of the whole result wasn't. As a result, we've got an expression with an opposite meaning.
The fixed version of the code may look like this:
if ( filter )
{
....
}
or this:
if ( !filter )
{
....
}
Was this page helpful?
Your message has been sent. We will email you at
If you do not see the email in your inbox, please check if it is filtered to one of the following folders: