diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-20 21:54:45 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-20 20:35:39 +0200 |
commit | dc443ee6e9e97c08bcceaa1cbc155635e73e8118 (patch) | |
tree | 1a241d117aa5599aad82b2d31a62ac782ac00ffc /source3 | |
parent | 7d17bfcf51880c84a2f2173c941f2955d045f5c5 (diff) | |
download | samba-dc443ee6e9e97c08bcceaa1cbc155635e73e8118.tar.gz samba-dc443ee6e9e97c08bcceaa1cbc155635e73e8118.tar.bz2 samba-dc443ee6e9e97c08bcceaa1cbc155635e73e8118.zip |
s3: Fix two uninitialized variables
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/tldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index 31ca54020a..56cd870990 100644 --- a/source3/lib/tldap.c +++ b/source3/lib/tldap.c @@ -1081,7 +1081,7 @@ static int tldap_hex2char(const char *x) { if (isxdigit(x[0]) && isxdigit(x[1])) { const char h1 = x[0], h2 = x[1]; - int c; + int c = 0; if (h1 >= 'a') c = h1 - (int)'a' + 10; else if (h1 >= 'A') c = h1 - (int)'A' + 10; @@ -1305,7 +1305,7 @@ static bool tldap_push_filter_basic(struct tldap_context *ld, const char *dn; const char *rule; const char *star; - size_t type_len; + size_t type_len = 0; char *uval; size_t uval_len; bool write_octect = true; |