From 4183b2ac3832cdc2055d7eb3ed7121a9ea91085c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 2 Dec 2004 04:51:56 +0000 Subject: r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my compile (This used to be commit 0928b1f5b68c858922c3ea6c27ed03b5091c6221) --- source4/utils/net/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/utils/net/net.c') diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c index ac427c4935..199f0429d6 100644 --- a/source4/utils/net/net.c +++ b/source4/utils/net/net.c @@ -159,7 +159,7 @@ static int binary_net(int argc, const char **argv) int argc_new; const char **argv_new; TALLOC_CTX *mem_ctx; - struct net_context *ctx; + struct net_context *ctx = NULL; poptContext pc; struct poptOption long_options[] = { POPT_AUTOHELP -- cgit