Medium severity coverity issues. Refs #9939
One more warning. Refs #9939
Merge branch 'bugfix/9939_Coverity_CurveFitting' into develop