Warning Reduction Patches

Joel Sherrill joel.sherrill at OARcorp.com
Sat Sep 21 21:34:46 UTC 2013


I fixed a number of warnings and but there are a couple I
think someone else (Chris probably) needs to look at
since I think they are code he touches the most. :)

warning: variable 'rrc' set but not used [-Wunused-but-set-variable]
warning: variable 'records' set but not used [-Wunused-but-set-variable]
../../../../../../rtems/c/src/../../cpukit/libmisc/shell/main_cp.c:108:1: warning:
'rtems_shell_cp_exit' defined but not used [-Wunused-function]

I am building for sparc/leon3. This is the current warning breakdown for
building just samples and no networking:

      1 -Wunused-function
      2 -Wunused-but-set-variable
      6 -Wformat=
     68 -Wmissing-prototypes

Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

More information about the devel mailing list