This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: 'otable_syms' defined but not used
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/