Changeset: e69feab0ae91 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e69feab0ae91
Modified Files:
        sql/server/rel_dump.c
Branch: default
Log Message:

fixed compilation of sql/server/rel_dump.c --- hopefully correctly:

fixed

sql/server/rel_dump.c: In function 'exp_read':
sql/server/rel_dump.c:693:16: error: 'cname' may be used uninitialized in this 
function

by initializing 'cname' to NULL,
hoping that this is the correct default value,
and the uninitialized use was/is not due to unintended
use of 'cname' ...


diffs (12 lines):

diff --git a/sql/server/rel_dump.c b/sql/server/rel_dump.c
--- a/sql/server/rel_dump.c
+++ b/sql/server/rel_dump.c
@@ -690,7 +690,7 @@
 exp_read(mvc *sql, sql_rel *lrel, sql_rel *rrel, char *r, int *pos, int grp) 
 {
        int not = 1, f = 0, old, d=0, s=0, unique = 0, no_nils = 0;
-       char *tname, *cname, *e, *b = r + *pos, *st;
+       char *tname, *cname = NULL, *e, *b = r + *pos, *st;
        sql_exp *exp = NULL;
        list *exps = NULL;
        sql_subtype *tpe;
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to