[m-dev.] diff: small bug fix

Peter Ross petdr at cs.mu.OZ.AU
Thu Jun 29 20:26:37 AEST 2000


Hi,


===================================================================


Estimated hours taken: 0.1

runtime/mercury_memory_zones.c:
    Change to mercury coding convention and delete and unused variable.

Index: mercury_memory_zones.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_memory_zones.c,v
retrieving revision 1.11
diff -u -r1.11 mercury_memory_zones.c
--- mercury_memory_zones.c	2000/06/29 09:55:37	1.11
+++ mercury_memory_zones.c	2000/06/29 10:24:06
@@ -76,7 +76,7 @@
 MR_protect_pages(void *addr, size_t size, int prot_flags)
 {
 	int rc;
-	DWORD Flags, OldFlags;
+	DWORD flags;
 
 	if (prot_flags & PROT_WRITE) {
 		flags = PAGE_READWRITE;

--------------------------------------------------------------------------
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