Hi champs,
Is there any option to issue a warning message if we use C language switch...case without using break statement?
Regards,
Luke
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.
Is there any option to issue a warning message if we use C language switch...case without using break statement?
Unfortunately, no.
An internet search on the term static code analysis returns results that might be useful.
Thanks and regards,
-George