Changeset: 5ab32c5ce4a6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/5ab32c5ce4a6
Modified Files:
        sql/server/rel_select.c
Branch: default
Log Message:

fix compilation (unused variable)


diffs (20 lines):

diff --git a/sql/server/rel_select.c b/sql/server/rel_select.c
--- a/sql/server/rel_select.c
+++ b/sql/server/rel_select.c
@@ -5609,7 +5609,7 @@ rel_select_exp(sql_query *query, sql_rel
 
                if (ce) {
                        if (inner && inner->flag && is_groupby(inner->op)) {
-                               int found = 0, nratom = 0;
+                               int found = 0;
                                list *gbe = inner->r;
                                /* flag == 2 just add to group by/ aggrs and 
ref-to pexps*/
                                /* flag == 1 find group by exp referencing this 
column nr */
@@ -5630,7 +5630,6 @@ rel_select_exp(sql_query *query, sql_rel
                                                if (is_atom(e->type) && 
!e->alias.name) {
                                                        atom *a = e->l;
                                                        int nr = 
(int)atom_get_int(a);
-                                                       nratom++;
                                                        if (nr == 
(list_length(pexps) + 1)) {
                                                                n->data = ce;
                                                                ce = 
exp_ref(sql, ce);
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to