I have an older program that was built using clang via CFLAGS = "- Wunreachable-code" and displays some warnings for a specific switch () on break; where it says that it will never be executed, it’s safe to simply delete the unreachable code or be a beta version of beta blogs in nature?
In particular, it gives warnings on several functions, i.e. returns -1 after the previous return and breaks inside switch ()
source
share