Changeset: a26ecace0540 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a26ecace0540
Modified Files:
        sql/backends/monet5/sql.c
Branch: Nov2019
Log Message:

Always initialize.


diffs (29 lines):

diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -851,10 +851,8 @@ mvc_bat_next_get_value(Client cntxt, Mal
        if (!BATcount(it))
                goto bailout; /* Success case */
 
-       if (b)
-               bi = bat_iterator(b);
-       if (c)
-               ci = bat_iterator(c);
+       bi = bat_iterator(b);
+       ci = bat_iterator(c);
 
        BATloop(it, p, q) {
                str nsname, nseqname;
@@ -1027,10 +1025,8 @@ mvc_bat_restart_seq(Client cntxt, MalBlk
        if (!BATcount(it))
                goto bailout; /* Success case */
 
-       if (b)
-               bi = bat_iterator(b);
-       if (c)
-               ci = bat_iterator(c);
+       bi = bat_iterator(b);
+       ci = bat_iterator(c);
        if (d)
                di = (lng *) Tloc(d, 0);
 
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to