Fix uninitialized value warning by Valgrind