Fix country flag check warning.
Merge pull request #405 from LipuFei/fix-flag-warn

Fix country flag check warning