Is there a way to identify all the unused global variable in a C project?

后端 未结 6 1075
清歌不尽
清歌不尽 2021-01-17 22:28

I\'m cleaning up some C code. There are global variables everywhere, but not all of them are used. I want to clean up those. But it\'s too much work to test them one by one.

6条回答
提交回复
热议问题