23 lines
532 B
Plaintext
23 lines
532 B
Plaintext
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
|
|
|
|
* https://cwe.mitre.org/data/definitions/482[MITRE, CWE-482] - Comparing instead of Assigning
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::message.adoc[]
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::comments-and-links.adoc[]
|
|
|
|
endif::env-github,rspecator-view[]
|