From: Sebastian Harl Date: Mon, 30 Nov 2015 10:53:25 +0000 (+0100) Subject: frontend/query: Fixed an uninitialized value. X-Git-Tag: sysdb-0.8.0~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ba8c9777ab4b31f8534108e8db30c26d61458d11;p=sysdb.git frontend/query: Fixed an uninitialized value. --- diff --git a/src/frontend/query.c b/src/frontend/query.c index 4ae4f64..5e44329 100644 --- a/src/frontend/query.c +++ b/src/frontend/query.c @@ -477,7 +477,7 @@ sdb_conn_lookup(sdb_conn_t *conn) int sdb_conn_store(sdb_conn_t *conn) { - sdb_ast_node_t *ast; + sdb_ast_node_t *ast = NULL; const char *buf = sdb_strbuf_string(conn->buf); size_t len = conn->cmd_len; uint32_t type;