[previous] 0925 [next] [S] Unexpected end of file.
Syntax errors

The file has ended unexpectedly. This could be caused by a missing terminating '}'. For example:


/*PRQA S 911,2016,2203,3120,3138,3139,3141,3408 ++*/

void foo(int i)
{
    switch (i)
    {
    case 2:
        break;
    case 4:
        break;
    default:
        break;

}                                  /* Messages 0925 and also 0907 */

See also:

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents