[m-dev.] trivial diff: fix uninitialized variable

Mark Anthony BROWN dougl at cs.mu.OZ.AU
Thu May 27 20:32:41 AEST 1999


Estimated hours taken: 2

trace/mercury_trace_vars.c:
	Fix an uninitialized variable which was causing sporadic failure
	of the debugger tests.


Index: mercury_trace_vars.c
===================================================================
RCS file: /home/mercury1/repository/mercury/trace/mercury_trace_vars.c,v
retrieving revision 1.1
diff -u -r1.1 mercury_trace_vars.c
--- mercury_trace_vars.c	1999/05/27 01:01:35	1.1
+++ mercury_trace_vars.c	1999/05/27 10:19:26
@@ -303,8 +303,7 @@
 			MR_point.MR_point_vars[slot].MR_var_is_headvar = FALSE;
 		}
 
-		MR_point.MR_point_vars[slot].MR_var_is_headvar
-			= FALSE;
+		MR_point.MR_point_vars[slot].MR_var_is_ambiguous = FALSE;
 		slot++;
 	}
 
-- 
Mark Brown  (dougl at cs.mu.oz.au)       )O+   |  For Microsoft to win,
MEngSc student,                             |  the customer must lose
Dept of Computer Science, Melbourne Uni     |          -- Eric S. Raymond
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list