lint: Fix undefined variable error