'otable_syms' defined but not used
Per Bothner
per@bothner.com
Mon Sep 22 23:51:00 GMT 2003
Tom Tromey wrote:
> Per> But I see no benefit to having unused private fields, and
> Per> we should warn about those.
>
> They might be used only by native code.
True - we probably want to disable the warning if the
class has native methods.
So it may be too limited to be much use when it comes to
unused fields, at least too limited to put much effort
into it. But it seems reasonable to warn for
unused local variables.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
More information about the Java-patches
mailing list