Warning Reduction Patches

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


Hi

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. :)

../../../../../../rtems/c/src/../../cpukit/libfs/src/rfs/rtems-rfs-inode.c:335:11:
warning: variable 'rrc' set but not used [-Wunused-but-set-variable]
../../../../../../rtems/c/src/../../cpukit/libmisc/capture/capture.c:1073:28:
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