summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-08-12 17:27:05 +0200
committerKai Blin <kai@samba.org>2009-08-18 19:53:40 +0200
commitafb8f8eaa5370bb171979578031bcd596ee95fe8 (patch)
tree92612b1a058d0232d5d2e6e23b4aa7acde8206c4
parentab818cdf8b78fd727c5b704dad65d524bc902b63 (diff)
downloadsamba-afb8f8eaa5370bb171979578031bcd596ee95fe8.tar.gz
samba-afb8f8eaa5370bb171979578031bcd596ee95fe8.tar.bz2
samba-afb8f8eaa5370bb171979578031bcd596ee95fe8.zip
s3 wbinfo: Remove unused functions, use C99-types
-rw-r--r--nsswitch/wbinfo.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c
index 70742c9283..80d267a1bc 100644
--- a/nsswitch/wbinfo.c
+++ b/nsswitch/wbinfo.c
@@ -1780,7 +1780,7 @@ int main(int argc, char **argv, char **envp)
/* get the generic configuration parameters like --domain */
switch (opt) {
case OPT_VERBOSE:
- verbose = True;
+ verbose = true;
break;
case OPT_NTLMV2:
use_ntlmv2 = true;
@@ -1793,11 +1793,6 @@ int main(int argc, char **argv, char **envp)
poptFreeContext(pc);
- if (!init_names())
- return 1;
-
- load_interfaces();
-
pc = poptGetContext(NULL, argc, (const char **)argv, long_options,
POPT_CONTEXT_KEEP_FIRST);