Some coding rules (Misra for instance) requires that all if-statements are complete i.e. there should always be an else even when it's not needed.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: [RESOLVED] Strangley placed elseThreaded View
|
Click Here to Expand Forum to Full Width |