[m-dev.] trivial diff: remove unused stuff
Warwick Harvey
wharvey at cs.monash.edu.au
Thu Feb 24 17:17:07 AEDT 2000
Zoltan wrote:
> runtime/mercury_memory_handlers.c:
> runtime/mercury_memory_zones.c:
> Remove unused variables and code identified by -Wunused.
[...]
> --- runtime/mercury_memory_zones.c 1999/11/14 23:23:19 1.8
> +++ runtime/mercury_memory_zones.c 2000/02/21 09:32:01
[...]
> @@ -183,6 +181,10 @@
> return zone;
> }
>
> +#if 0
> +
> +/* this function is not currently used */
> +
> static void
> unget_zone(MemoryZone *zone)
> {
> @@ -211,6 +213,8 @@
> free_memory_zones = zone;
> MR_UNLOCK(free_memory_zones_lock, "unget_zone");
> }
> +
> +#endif
Did you mean to delete the function as well? Surely it's now unused?
Warwick
--------------------------------------------------------------------------
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