Clean up warnings from gcc

Merged Alan Coopersmith requested to merge alanc/xsm:warnings into master

Merge request reports