Skip to content

Instantly share code, notes, and snippets.

@farcaller
Created October 24, 2009 17:36
Show Gist options
  • Select an option

  • Save farcaller/217635 to your computer and use it in GitHub Desktop.

Select an option

Save farcaller/217635 to your computer and use it in GitHub Desktop.
$ /Developer/usr/bin/clang --analyze gistfile1.c
gistfile1.c:9:7: warning: Value stored to 'yes' during its initialization is never read
int yes = yesNo(tet);
^ ~~~~~~~~~~
gistfile1.c:29:11: warning: Value stored to 'b' during its initialization is never read
unsigned b = one;
^ ~~~
gistfile1.c:36:2: warning: Variable-length array 'c' garbage value for array size
int c[size];
^ ~~~~
3 diagnostics generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment