[cfe-dev] Implementing -Wunused-variables

Oscar Bonilla ob at bitmover.com
Mon Oct 5 23:37:47 PDT 2009


On Oct 5, 2009, at 9:46 PM, Oscar Bonilla wrote:

> Is this any better?

Still not quite right:

$ clang-cc test/SemaObjC/unused.m  -verify -Wunused -fsyntax-only
Warnings seen but not expected:
   Line 0: unused variable 'self'
   Line 0: unused variable '_cmd'
   Line 0: unused variable 'self'
   Line 0: unused variable '_cmd'
   Line 41: unused variable 'y'

Sigh. I'll look at this tomorrow...

Cheers,

-Oscar




More information about the cfe-dev mailing list