Changeset: 36392fb27a4c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=36392fb27a4c
Modified Files:
        sql/src/common/sql_types.c
Branch: default
Log Message:

sql_types.c:276: variable "sql_end" was set but never used

Just drop the assignments, apparently it is no longer in use.


diffs (41 lines):

diff -r def6d999cb0e -r 36392fb27a4c sql/src/common/sql_types.c
--- a/sql/src/common/sql_types.c        Sun Dec 05 16:31:14 2010 +0100
+++ b/sql/src/common/sql_types.c        Mon Dec 06 14:18:28 2010 +0100
@@ -272,10 +272,6 @@
        return res;
 }
 
-#ifndef NDEBUG
-static int sql_end = 0;
-#endif
-
 void
 type_destroy(sql_type *t)
 {
@@ -1534,26 +1530,9 @@
 void
 types_exit(void)
 {
-#ifndef NDEBUG
-       sql_end = END_SUBAGGR;
-#endif
-
-#ifndef NDEBUG
-       sql_end = END_AGGR;
-#endif
-
        list_destroy(aggrs);
        list_destroy(funcs);
-
        list_destroy(localtypes);
-
-#ifndef NDEBUG
-       sql_end = END_SUBTYPE;
-#endif
-
-#ifndef NDEBUG
-       sql_end = END_TYPE;
-#endif
        list_destroy(aliases);
        list_destroy(types);
 }
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to