[m-rev.] trivial diff: fix warning in mercury_trace_internal.c

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Sep 13 03:54:52 AEST 2002


Estimated hours taken: 0.1
Branches: main

trace/mercury_trace_internal.c:
	Avoid a gcc warning about a missing initializer.

Workspace: /home/ceres/fjh/mercury
Index: trace/mercury_trace_internal.c
===================================================================
RCS file: /home/mercury1/repository/mercury/trace/mercury_trace_internal.c,v
retrieving revision 1.137
diff -u -d -r1.137 mercury_trace_internal.c
--- trace/mercury_trace_internal.c	11 Sep 2002 07:20:31 -0000	1.137
+++ trace/mercury_trace_internal.c	12 Sep 2002 15:41:24 -0000
@@ -133,7 +133,8 @@
 /*
 ** The details of the source server, if any.
 */
-static	MR_Trace_Source_Server	MR_trace_source_server = { NULL, NULL };
+static	MR_Trace_Source_Server	MR_trace_source_server =
+	{ NULL, NULL, MR_FALSE };
 
 /*
 ** We print confirmation of commands (e.g. new aliases) if this is MR_TRUE.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list