l is one of those "universally deprecated variable names" - because it looks too much like 1.  

(The other two names are O and I - that is I, not l).

Indeed, when I saw the line right below, I thought it said:

if (1)