summaryrefslogtreecommitdiffstats
path: root/source/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-02 04:51:56 +0000
committerAndrew Tridgell <tridge@samba.org>2004-12-02 04:51:56 +0000
commitda121e98b242841269475aca371d1291f70e7a87 (patch)
treecd7ecc5aa88abd271c37bdaa5cff7f9857ee6ba5 /source/utils
parent4dc7a5e0e4d8c74a5bbd580c3f0e24099e0a15d7 (diff)
downloadsamba-da121e98b242841269475aca371d1291f70e7a87.tar.gz
samba-da121e98b242841269475aca371d1291f70e7a87.tar.xz
samba-da121e98b242841269475aca371d1291f70e7a87.zip
r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my compile
Diffstat (limited to 'source/utils')
-rw-r--r--source/utils/net/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/net/net.c b/source/utils/net/net.c
index ac427c49353..199f0429d6f 100644
--- a/source/utils/net/net.c
+++ b/source/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