Compiler Warning C0426
Message: At least one statement is expected
Possible error cause: A CASE statement contains an empty CASE label.
Error correction: Remove the empty CASE label or add a statement to this CASE label.
Example of the warning:
PROGRAM MAIN
VAR
nVar:INT;
END_VAR
CASE nVar OF
1:
2:
nVar := nVar + 1;
END_CASEThe CASE label produces the following warning.
Message:
C0426: At least one statement is expected