getdata.c: initialize variables to have safe values