Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site dscvax2.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!trwrb!trwrba!cepu!ucsbcsl!dscvax2!mn
From: mn@dscvax2.UUCP (Matt Noah)
Newsgroups: net.eunice,net.lang.c
Subject: Whitesmith C problem
Message-ID: <221@dscvax2.UUCP>
Date: Fri, 7-Dec-84 17:41:17 EST
Article-I.D.: dscvax2.221
Posted: Fri Dec  7 17:41:17 1984
Date-Received: Thu, 13-Dec-84 01:34:01 EST
Organization: Digital Sound Corp., Santa Barbara
Lines: 15
Xref: watmath net.eunice:190 net.lang.c:3463


A recently had a bug in my program relating to a function call.  The function
returned nothing (intentionally) which resulted in some garbling of data.  When
I changed the source line in the calling program to assign a the returning
value to a variable, the problem cleared up.  I am baffled.  Is this the way
this compiler was meant to operate?  Have others had similar experiences?  By
the way, the data that was garbled had absolutely no relation to the function
call!  It was neither passed to the function or returned.  Post comments to
the net, please.

				Matt Noah
				Digital Sound Corp.
				Santa Barbara, CA