diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-07-06 14:42:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:53 -0500 |
commit | f9c7b6303ceeeb69bcd4dda41ebae52780f00817 (patch) | |
tree | e99e38f6eaa7081162c2c605f1faf9a1dc770178 /source4/libcli | |
parent | 14e8aab1823b3d6b40638b5967cfee5fd94de7ca (diff) | |
download | samba-f9c7b6303ceeeb69bcd4dda41ebae52780f00817.tar.gz samba-f9c7b6303ceeeb69bcd4dda41ebae52780f00817.tar.bz2 samba-f9c7b6303ceeeb69bcd4dda41ebae52780f00817.zip |
r1359: fix uninit var - found by valgrind
metze
(This used to be commit 264afea9ec3ada4df51e5f5de4c0b977024af40b)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/auth/gensec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/libcli/auth/gensec.c b/source4/libcli/auth/gensec.c index 7ccaf4acc3..2491410494 100644 --- a/source4/libcli/auth/gensec.c +++ b/source4/libcli/auth/gensec.c @@ -119,8 +119,6 @@ static NTSTATUS gensec_start(struct gensec_security **gensec_security) NTSTATUS gensec_subcontext_start(struct gensec_security *parent, struct gensec_security **gensec_security) { - NTSTATUS status; - (*gensec_security) = talloc_p(parent->mem_ctx, struct gensec_security); if (!(*gensec_security)) { return NT_STATUS_NO_MEMORY; @@ -132,7 +130,7 @@ NTSTATUS gensec_subcontext_start(struct gensec_security *parent, (*gensec_security)->subcontext = True; - return status; + return NT_STATUS_OK; } NTSTATUS gensec_client_start(struct gensec_security **gensec_security) |