Inspection for Discarded Constructor Return?
Hi,
I a whirlwind of editing, I wound up with this bit of code without noticing it (until I began testing):
(); ]]>
Naturally, what I wanted was this:
(); ]]>
Is there an inspection that I could enable that would flag this sort of highly suspect code?
Randall Schulz
Please sign in to leave a comment.
"Result of object allocation ignored"
--Dave Griffith
Thank you!
RRS