From: Sebastian Harl Date: Thu, 21 May 2015 21:39:22 +0000 (+0200) Subject: Fix an uninitialized value warnings caused by clang not knowing about fail(). X-Git-Tag: sysdb-0.8.0~65^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=de284674bd3c1b96b90952c68e44a6f112e7447b;p=sysdb.git Fix an uninitialized value warnings caused by clang not knowing about fail(). --- diff --git a/t/unit/frontend/query_test.c b/t/unit/frontend/query_test.c index 8872e5b..8047b26 100644 --- a/t/unit/frontend/query_test.c +++ b/t/unit/frontend/query_test.c @@ -648,7 +648,7 @@ START_TEST(test_query) const char *data; ssize_t tmp; size_t len; - int check; + int check = -1; conn->cmd = query_data[_i].cmd; if (query_data[_i].query_len < 0)