summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2013-04-09 15:26:49 +0200
committerStef Walter <stefw@redhat.com>2013-04-09 15:29:04 +0200
commitd417fcc0c1cb1c89b23aef925ac64e994052eca2 (patch)
treed34718df1fdc89041e9daafca781f1dcb15e1121
parent030126689753052daa5323337c765a8b496ecb9a (diff)
Fix possible uninitialized variable
-rw-r--r--library/addisco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/addisco.c b/library/addisco.c
index b6d6348..76b96d1 100644
--- a/library/addisco.c
+++ b/library/addisco.c
@@ -415,7 +415,7 @@ parse_disco (LDAP *ldap,
LDAPMessage *message,
adcli_disco **res)
{
- adcli_disco *disco;
+ adcli_disco *disco = NULL;
LDAPMessage *entry;
struct berval **bvs;
int usability;