Changeset: fe1a60876d94 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/fe1a60876d94
Modified Files:
monetdb5/modules/kernel/batstr.c
Branch: Jun2023
Log Message:
Initialize variable to help compiler.
diffs (12 lines):
diff --git a/monetdb5/modules/kernel/batstr.c b/monetdb5/modules/kernel/batstr.c
--- a/monetdb5/modules/kernel/batstr.c
+++ b/monetdb5/modules/kernel/batstr.c
@@ -5063,7 +5063,7 @@ BATSTRasciify(bat *ret, bat *bid)
#ifdef HAVE_ICONV
BAT *b = NULL, *bn = NULL;
BATiter bi;
- BUN p, q;
+ BUN p, q = 0;
bool nils = false;
size_t prev_out_len = 0, in_len = 0, out_len = 0;
str s = NULL, out = NULL, in = NULL, msg = MAL_SUCCEED;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]