Scoping rules for static local variables