remove a warning on Linux
fix a error in doc
Merge pull request #438 from bitwangyaoyao:2.4_fixwarings