Merge pull request #252 from agtorre/master

Cleanup for 2.4
fixed a build error due to an unused variable breaking the build since our coding standard
is to ensure building with -Werror,-Wunused-variable
Merge pull request #253 from johnbent/master

Fixed build error.
fixed a bunch of warnings found using a new compiler, mostly uninitalized variables and comparing signed to unsigned variables. Also fixed the build process for static plfs -- it now links with static yaml