Changeset: 585096d883d7 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/585096d883d7
Modified Files:
        tools/merovingian/client/monetdb.c
Branch: Jan2022
Log Message:

Initialize to work around compilation issue on Debian 9.


diffs (12 lines):

diff --git a/tools/merovingian/client/monetdb.c 
b/tools/merovingian/client/monetdb.c
--- a/tools/merovingian/client/monetdb.c
+++ b/tools/merovingian/client/monetdb.c
@@ -1420,7 +1420,7 @@ command_get(int argc, char *argv[])
                } else {
                        /* check validity of properties before printing them */
                        if (stats == orig) {
-                               char *sp;
+                               char *sp = NULL;
                                snprintf(vbuf, sizeof(vbuf), "%s", property);
                                buf = vbuf;
                                while ((p = strtok_r(buf, ",", &sp)) != NULL) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to