Changeset: 9eb58596184b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9eb58596184b
Modified Files:
sql/backends/monet5/rel_bin.c
Branch: default
Log Message:
removed set but unused variable "p" to fixed compilation with Intel icc:
sql/backends/monet5/rel_bin.c(540): error #593: variable "p" was set but never
used
prop *p;
^
diffs (20 lines):
diff --git a/sql/backends/monet5/rel_bin.c b/sql/backends/monet5/rel_bin.c
--- a/sql/backends/monet5/rel_bin.c
+++ b/sql/backends/monet5/rel_bin.c
@@ -537,7 +537,6 @@ exp_bin(mvc *sql, sql_exp *e, stmt *left
stmt *l = NULL, *r = NULL, *r2 = NULL;
int swapped = 0, is_select = 0;
sql_exp *re = e->r, *re2 = e->f;
- prop *p;
if (get_cmp(e) == cmp_filter) {
list *r = e->r;
@@ -594,7 +593,7 @@ exp_bin(mvc *sql, sql_exp *e, stmt *left
assert(0);
/* mark use of join indices */
- if (right && (p=find_prop(e->p, PROP_JOINIDX)) != NULL)
+ if (right && find_prop(e->p, PROP_JOINIDX) != NULL)
sql->opt_stats[0]++;
if (!l) {
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list