Changeset: a6dc9d4f5f0f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a6dc9d4f5f0f
Modified Files:
        geom/monetdb5/geom.c
        geom/monetdb5/geom_atoms.h
Branch: geo-update
Log Message:

Fixes build error for unused global static variable


diffs (24 lines):

diff --git a/geom/monetdb5/geom.c b/geom/monetdb5/geom.c
--- a/geom/monetdb5/geom.c
+++ b/geom/monetdb5/geom.c
@@ -17,6 +17,8 @@
 #include "gdk_logger.h"
 #include "mal_exception.h"
 
+mbr mbrNIL = {0}; // will be initialized properly by geom prelude
+
 /**
  * AGGREGATES
  **/
diff --git a/geom/monetdb5/geom_atoms.h b/geom/monetdb5/geom_atoms.h
--- a/geom/monetdb5/geom_atoms.h
+++ b/geom/monetdb5/geom_atoms.h
@@ -3,7 +3,7 @@
 
 /* NULL: generic nil mbr. */
 /* returns a pointer to a nil-mbr. */
-static mbr mbrNIL;             /* to be filled in */
+extern mbr mbrNIL;
 
 static const wkb wkb_nil = { ~0, 0 };
 static const wkba wkba_nil = {.itemsNum = ~0};
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to