tool_writeout.c: initialize string pointer variable