Pete Johns c6acdccfa0 Fixed #1132 (Detection of misused scope objects)
Emits error in the form:

    [useless_lock.cpp:18]: (error) instance of "Lock" object destroyed immediately

...if an instance of a class or struct is unnamed and therefore destroyed
straight after creation.

Removed "internal error" from token.cpp, since in this case varid would be NULL.
2010-10-01 20:30:21 +10:00
..
2010-09-26 16:52:30 +10:00
2010-02-19 07:21:16 +01:00
2010-07-26 16:46:37 +02:00
2010-09-26 16:52:30 +10:00
2010-09-26 13:29:23 +10:00
2010-09-18 20:08:34 +02:00
2010-09-26 13:29:23 +10:00
2010-09-26 13:29:23 +10:00