"tick = HIGH" is an assignment, and because "HIGH" is non-zero, the value of the expression is always true.
In other words, the "if" is redundant - the following code will always be executed.
"tick = HIGH" is an assignment, and because "HIGH" is non-zero, the value of the expression is always true.
In other words, the "if" is redundant - the following code will always be executed.