Changeset: 34702a3f0010 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/34702a3f0010
Modified Files:
        gdk/gdk_bat.c
Branch: default
Log Message:

unused r variable removed


diffs (20 lines):

diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
--- a/gdk/gdk_bat.c
+++ b/gdk/gdk_bat.c
@@ -914,7 +914,7 @@ COLcopy(BAT *b, int tt, bool writable, r
                                bn->batCapacity = 0;
                } else if (BATatoms[tt].atomFix || tt != TYPE_void || 
ATOMextern(tt)) {
                        /* case (4): one-by-one BUN insert (really slow) */
-                       BUN p, q, r = 0;
+                       BUN p, q;
 
                        BATloop(b, p, q) {
                                const void *t = BUNtail(bi, p);
@@ -922,7 +922,6 @@ COLcopy(BAT *b, int tt, bool writable, r
                                if (bunfastapp_nocheck(bn, t) != GDK_SUCCEED) {
                                        goto bunins_failed;
                                }
-                               r++;
                        }
                        bn->theap->dirty |= bi.count > 0;
                } else if (tt != TYPE_void && bi.type == TYPE_void) {
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to