ls: fix a bug where we may use uninintialized variable

1 file changed