Details
Details
- Reviewers
clayborg jingham jasonmolenda - Commits
- rGbfcb6c870a5a: [debugserver] Fix "control may reach end of non-void function" warnings.
rLLDB243953: [debugserver] Fix "control may reach end of non-void function" warnings.
rL243953: [debugserver] Fix "control may reach end of non-void function" warnings.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Hm, won't we get some compiler warning about how there aren't default: cases for these switch statements? :) This change is fine if it helps eliminate unhelpful warnings.
Comment Actions
It doesn't create new warnings in the cmake build (which appears to have a lot more warnings enabled than the xcode build). I'm trying to slowly work towards zero warnings in the OS X cmake build.
This shouldn't generate new warnings though since it is checking for numerical values rather than something like an enumeration where it can make sure the range of the value is covered by the switch statement's cases. (Which is another set of warnings to address...)