一个新项目从一个旧项目上修改而来, 会删掉很多代码, 写程序时为了方便监控变量, 都使用了全局变量, 删掉代码后, 很多全局变量都未使用, 但是CCS对未使用全局变量不报警, 导致如果要删掉未使用全局变量得人工手工一个一个搜索再删除.
有没有方便的办法找出未使用的全局变量?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.