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

make it compile


diffs (22 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,7 +26,7 @@
 str
 OPTgarbageCollectorImplementation(Client cntxt, MalBlkPtr mb, MalStkPtr stk, 
InstrPtr pci)
 {
-       int i, limit, vlimit;
+       int i, limit;
        InstrPtr p;
        int actions = 0;
        char buf[1024];
@@ -61,8 +61,8 @@ OPTgarbageCollectorImplementation(Client
        }
 
        // Actual garbage collection stuff, just mark them for re-assessment
-       vlimit = mb->vtop;
 #ifndef NDEBUG
+       int vlimit = mb->vtop;
        used = (int *) GDKzalloc(vlimit * sizeof(int));
 #endif
        p = NULL;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to