| Summary: | [fp] Incorrect "No return, in function returning non-void" from try / catch | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Josh Kelley <joshkel> |
| Component: | cdt-codan | Assignee: | CDT Codan Inbox <cdt-codan-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Elena Laskavaia <elaskavaia.cdt> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, malaperle, rexdog2010, yevshif, zeratul976 |
| Version: | 8.1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Duplicate of bug 348387. *** This bug has been marked as a duplicate of bug 348387 *** |
Build Identifier: Version: Indigo Service Release 1 Build id: 20110916-0149 For the following code, code analysis gives an incorrect "No return, in function returning non-void" error message: double RPM(); double RPMnothrow() { try { return RPM(); } catch (...) { return 0.0; } } Reproducible: Always