What are the consequences of ignoring: warning: unused parameter

前端 未结 8 822
闹比i
闹比i 2020-12-29 23:48

I am working on a C++ project and I noticed that we have a number of warnings about unused parameters.

What effect could it have if these warnings are ignored?

8条回答
  •  不思量自难忘°
    2020-12-30 00:07

    If you have a whole lot of unimportant warnings that are not important to you, you may overlook the important warning about the line of code that you just wrote that is hiding in the middle of them.

提交回复
热议问题