diff --git a/libraries/libldap/test.c b/libraries/libldap/test.c index 97a7732fb9..1affb1c714 100644 --- a/libraries/libldap/test.c +++ b/libraries/libldap/test.c @@ -169,7 +169,7 @@ get_modlist( { static char buf[256]; int num; - LDAPMod tmp; + LDAPMod tmp = { 0 }; LDAPMod **result; struct berval **bvals;