Reports an assignment being used as the condition of an
if
,
while
,
for
or
do
statement. While occasionally intended, this usage is confusing, and often indicates a typo (
=
instead of
==
).