Valgrind complained about an uninitialized variable