summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorOndrej Kos <okos@redhat.com>2013-03-12 13:05:09 +0100
committerSimo Sorce <simo@redhat.com>2013-03-13 14:44:20 -0400
commit9f37bb2012faa136ef7c1f9fe93689ce2be85637 (patch)
tree80878f3fcba322f77e31b1cc72e38a07e2304c87 /src/db
parent7c0f319813a13723ebe8dc85b004565b63d5e44d (diff)
downloadsssd-9f37bb2012faa136ef7c1f9fe93689ce2be85637.tar.gz
sssd-9f37bb2012faa136ef7c1f9fe93689ce2be85637.tar.bz2
sssd-9f37bb2012faa136ef7c1f9fe93689ce2be85637.zip
Fix initialization of multiple variables
Diffstat (limited to 'src/db')
-rw-r--r--src/db/sysdb_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sysdb_search.c b/src/db/sysdb_search.c
index 3226acc6..843c746d 100644
--- a/src/db/sysdb_search.c
+++ b/src/db/sysdb_search.c
@@ -168,7 +168,7 @@ done:
static int mpg_convert(struct ldb_message *msg)
{
struct ldb_message_element *el;
- struct ldb_val *val;
+ struct ldb_val *val = NULL;
int i;
el = ldb_msg_find_element(msg, "objectClass");