Fixes #4220: Move r30548 to v1.7 branch (Fix warning - thanks to)

---svn-pre-commit-ignore-below---

r30548 [[BR]]
Fix warning - thanks to Paul Hargrove for reporting it

cmr=v1.7.4:reviewer=ompi-gk1.7