fixed -Wmaybe-uninitialized for *line
prevent use-after-free