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 481. Example of the warning
PROGRAM PLC_PRG VAR nVar:INT; END_VAR CASE nVar OF 1: 2: nVar := nVar + 1; END_CASE
The CASE label produces the following warning.
Message:
C0426: At least one statement is expected