A statement without side effects, such as creating an object without assigning its reference to a variable, is useless, and must have been a mistake on the developer's part. 


== See

* http://cwe.mitre.org/data/definitions/482[MITRE, CWE-482] - Comparing instead of Assigning

