diff --git a/src/ckdb_btc.c b/src/ckdb_btc.c index 6047401b..3295c09e 100644 --- a/src/ckdb_btc.c +++ b/src/ckdb_btc.c @@ -108,7 +108,7 @@ static int read_socket(int fd, char **buf, int timeout) static char *_btc_io(__maybe_unused const char *cmd, char *json, WHERE_FFL_ARGS) { - char *ip, *port; + char *ip = NULL, *port = NULL; char *data, *ans, *res, *ptr; int fd, ret, red; size_t len;