diff options
author | Amitay Isaacs <amitay@gmail.com> | 2013-07-04 17:00:23 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-07-04 20:43:52 +1000 |
commit | 6391f61fbc4ed1d77e2dcb2a6490ee7bed62782d (patch) | |
tree | 5444e2a162d1cbbad2204c00aeec06041da4c18a /ctdb/server/ctdb_lock.c | |
parent | f032c60cd5fe487197d8ed8638dbbb6dce9d0bb0 (diff) | |
download | samba-6391f61fbc4ed1d77e2dcb2a6490ee7bed62782d.tar.gz samba-6391f61fbc4ed1d77e2dcb2a6490ee7bed62782d.tar.xz samba-6391f61fbc4ed1d77e2dcb2a6490ee7bed62782d.zip |
build: Fix compiler warnings for uninitialized variables
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 5408c5c4050539e5aa06a5e82ceb63a6cb5cef0c)
Diffstat (limited to 'ctdb/server/ctdb_lock.c')
-rw-r--r-- | ctdb/server/ctdb_lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_lock.c b/ctdb/server/ctdb_lock.c index 77b4da88857..d699e85b181 100644 --- a/ctdb/server/ctdb_lock.c +++ b/ctdb/server/ctdb_lock.c @@ -422,7 +422,7 @@ static void ctdb_lock_handler(struct tevent_context *ev, void *private_data) { struct lock_context *lock_ctx; - TALLOC_CTX *tmp_ctx; + TALLOC_CTX *tmp_ctx = NULL; char c; bool locked; double t; |