fix a compile warning
Merge pull request #595 from bitwangyaoyao:2.4_perfTest