Fix unused function warnings.
Merge pull request #2673 from degano/unused_warnings_fix_71X_gcc490

GCC 4.9.0 -- Fix unused function warnings.