Changeset: f4266caad48d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f4266caad48d
Modified Files:
        gdk/gdk_logger.c
Branch: default
Log Message:

Compilation issues: unused variable.


diffs (17 lines):

diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c
--- a/gdk/gdk_logger.c
+++ b/gdk/gdk_logger.c
@@ -597,11 +597,11 @@ log_read_create(logger *lg, trans *tr, c
 static void
 la_bat_create(logger *lg, logaction *la)
 {
-       int ht = (la->ht < 0) ? TYPE_void : la->ht;
        int tt = (la->tt < 0) ? TYPE_void : la->tt;
        BAT *b;
 
-       assert(ht == TYPE_void);
+       /* formerly head column type, should be void */
+       assert(((la->ht < 0) ? TYPE_void : la->ht) == TYPE_void);
        b = COLnew(0, tt, BATSIZE, PERSISTENT);
 
        if (b != NULL) {
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to