[m-rev.] trivial diff: add some curly brackets
Julien Fischer
juliensf at cs.mu.OZ.AU
Thu Mar 31 16:22:49 AEST 2005
Estimated hours taken: 0.1
Branches: main, release
runtime/mercury_wrapper.c:
Add some missing curlies.
Julien.
Index: mercury_wrapper.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_wrapper.c,v
retrieving revision 1.145
diff -u -r1.145 mercury_wrapper.c
--- mercury_wrapper.c 18 Feb 2005 04:05:34 -0000 1.145
+++ mercury_wrapper.c 31 Mar 2005 06:11:45 -0000
@@ -560,8 +560,9 @@
int i;
MR_init_thread(MR_use_now);
MR_exit_now = MR_FALSE;
- for (i = 1 ; i < MR_num_threads ; i++)
+ for (i = 1 ; i < MR_num_threads ; i++) {
MR_create_thread(NULL);
+ }
}
#endif /* ! MR_THREAD_SAFE */
#endif /* ! MR_HIGHLEVEL_CODE */
@@ -1637,8 +1638,9 @@
{
int i;
- for (i = 0; i < SAFETY_BUFFER_SIZE; i++)
+ for (i = 0; i < SAFETY_BUFFER_SIZE; i++) {
MR_assert(safety_buffer[i] == MAGIC_MARKER_2);
+ }
}
#endif
--------------------------------------------------------------------------
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