Reputation: 233
I have a code where am getting PC Lint info 825
, even though I'm using /* fallthrough */
comment. Tell me if any of my usage is wrong.
Example code:
case 1:
case 2:
case 3:
{
statement;
}
/* fallthrough */
case 4:
{
statement 1;
statement 2;
break;
}
default:
break;
Upvotes: 0
Views: 1192
Reputation: 400039
That's the wrong comment content. Try:
//lint -fallthrough
See the huge text file for details.
Upvotes: 1