summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-11-02 00:19:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:16 -0500
commitc9effb004cb4bb9baa87fb429f22c834226708bb (patch)
tree7810eb816b11d7fad89b584f8fecb53929ed33bd /source3/libads
parenta3d66dfef7025a9712f62cf3dda8ef910f848cf4 (diff)
downloadsamba-c9effb004cb4bb9baa87fb429f22c834226708bb.tar.gz
samba-c9effb004cb4bb9baa87fb429f22c834226708bb.tar.bz2
samba-c9effb004cb4bb9baa87fb429f22c834226708bb.zip
r11451: Fix -O1 "might be using uninitialized" errors.
Jeremy. (This used to be commit cab76c3c33883aad444eefb6562ab1b27d9ca88a)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ldap_utils.c b/source3/libads/ldap_utils.c
index 03cdd339f0..18caa2c63a 100644
--- a/source3/libads/ldap_utils.c
+++ b/source3/libads/ldap_utils.c
@@ -31,7 +31,7 @@ ADS_STATUS ads_do_search_retry(ADS_STRUCT *ads, const char *bind_path, int scope
const char *expr,
const char **attrs, void **res)
{
- ADS_STATUS status;
+ ADS_STATUS status = ADS_SUCCESS;
int count = 3;
char *bp;