加入上面这段宏 可以去掉这个 警告。
“-Wunuserd-variable” :可以通过下面两步找到
1,
2,
去警告
原文:http://blog.csdn.net/jijunyuan/article/details/43951339