Although the warning does not affect the running of your code, do not ignore it.
Use the compiler as your friend. If it gives you a warning, it often shows that your code has potential problems.
Common Warnings:
1. Third-party header files.
2. Unused function parameters.
3. defines variables that have never been used.
4. variables may not have been initialized before they are used.
5. The return statement is missing.
6. The number of signed or unsigned characters does not match.
Exceptions:
Sometimes, the compiler may generate annoying or even false warnings, but it does not provide a solution. In this case, it is too busy to modify the code to solve this warning. In this rare case, as a team decision, avoid useless warnings that are purely useless: disable this warning separately, but disable it locally as much as possible, and write a clear comment to explain why it is necessary to disable it.
C Xiaojia