Community
Participate
Working Groups
With the following code: inline int test(int i) { if (i != 0) { return i; } for (;;) { } } Codan reports "No return, in function returning non-void". The construct "for (;;){}" is a common idiom for a non-terminating loop. Codan does recognise the alternative idiom "while(true){}" an non-terminating.