X-Received: by 10.224.175.65 with SMTP id w1mr1556759qaz.7.1359059034441; Thu, 24 Jan 2013 12:23:54 -0800 (PST) X-Received: by 10.49.62.2 with SMTP id u2mr493637qer.38.1359059034352; Thu, 24 Jan 2013 12:23:54 -0800 (PST) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!p13no6330768qai.0!news-out.google.com!k2ni2588qap.0!nntp.google.com!p13no6330765qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Thu, 24 Jan 2013 12:23:54 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=184.76.139.203; posting-account=v1lx5wkAAAALWYfGBkwkMb2guPF9cW2u NNTP-Posting-Host: 184.76.139.203 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <263f14ba-8542-4ec5-9e23-0a91da46e62d@googlegroups.com> Subject: unused statics? From: bob smith Injection-Date: Thu, 24 Jan 2013 20:23:54 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.java.programmer:21664 So, I found this in one of my classes: static int ctr = 0; It turns out it wasn't being used anywhere. I thought Eclipse would warn me about this, but it didn't. I looked thru the options, and I couldn't find anything to change. Is there any way to get warned about those unused statics? Thanks.