From f9c7b6303ceeeb69bcd4dda41ebae52780f00817 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 6 Jul 2004 14:42:07 +0000 Subject: r1359: fix uninit var - found by valgrind metze (This used to be commit 264afea9ec3ada4df51e5f5de4c0b977024af40b) --- source4/libcli/auth/gensec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source4') 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) -- cgit