CondFormats/CastorObjects -- Fix unused function warning
Merge pull request #3454 from nclopezo/fix-unused_warning_71X490-CO

Misc fixes -- CondFormats/CastorObjects: fix unused function warning