Home

Variables should not be self-assigned

Rule description

  • Variables should not be self-assigned

 

Non-compliant Code Example

function string testCall (int cnt)

cnt = cnt //Non compliant code (Variable is self-assigned)

return "

end function
Visual Expert 2020
 VEPBRULE41