fix an analysis warning
Merge pull request #3738 from devoncarew/devoncarew_warning

fix an analysis warning