Home
Unused labels should be removed
Rule description
- Unused labels should be removed
Non-compliant Code Example
function string testFunctionCall (string cnt)
restart1: //Non compliant code (Unused label)
if cnt > 0 then
messagebox('Success','is greater than 0 found ')
end if
return cnt
end function
Compliant Code Example
function string testFunctionCall (string cnt) if cnt > 0 then messagebox('Success','is greater than 0 found ') end if return cnt end function