Changeset: 83b2a6a1660a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=83b2a6a1660a
Modified Files:
        monetdb5/optimizer/opt_garbageCollector.c
Branch: default
Log Message:

Fix compilation issues


diffs (29 lines):

diff --git a/monetdb5/optimizer/opt_garbageCollector.c 
b/monetdb5/optimizer/opt_garbageCollector.c
--- a/monetdb5/optimizer/opt_garbageCollector.c
+++ b/monetdb5/optimizer/opt_garbageCollector.c
@@ -26,13 +26,14 @@
 str
 OPTgarbageCollectorImplementation(Client cntxt, MalBlkPtr mb, MalStkPtr stk, 
InstrPtr pci)
 {
-       int i, j, limit, vlimit;
+       int i, limit, vlimit;
        InstrPtr p;
        int actions = 0;
        char buf[1024];
        lng usec = GDKusec();
        str msg = MAL_SUCCEED;
 #ifndef NDEBUG
+       int j;
        int *used;
 #endif
 
@@ -101,8 +102,8 @@ OPTgarbageCollectorImplementation(Client
                        newComment(mb,buf);
                }
        }
+       GDKfree(used);
 #endif
-       GDKfree(used);
        getInstrPtr(mb,0)->gc |= GARBAGECONTROL;
 
        /* leave a consistent scope admin behind */
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to