Path: utzoo!attcan!uunet!snorkelwacker!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!pikes!aspen.craycos.com!jrbd From: jrbd@craycos.com (James Davies) Newsgroups: comp.lang.c Subject: Re: SIMPLE malloc & pointer question Message-ID: <1990Aug7.213725.1258@craycos.com> Date: 7 Aug 90 21:37:25 GMT References: <7206@helios.TAMU.EDU> Organization: Cray Computer Corporation Lines: 12 Just to beat this into the ground a bit further (like most simple problems posted to the net, it's already halfway to the earth's core by now...), the first thing to do when you have questions about a particular program should be to run it through lint. In this case, lint says: $ lint xxx.c xxx.c(11): warning: a may be used before set printf returns value which is always ignored The first warning should be a strong clue as to what is wrong... Is lint mentioned in the FAQ list?