s3 wbinfo: Remove unused functions, use C99-types
authorKai Blin <kai@samba.org>
Wed, 12 Aug 2009 15:27:05 +0000 (17:27 +0200)
committerKai Blin <kai@samba.org>
Tue, 18 Aug 2009 17:53:40 +0000 (19:53 +0200)
nsswitch/wbinfo.c

index 70742c9283ec7e11d5607c661e3027814cf5decb..80d267a1bcb1e3aafc85e400dfccf41ba7dbc733 100644 (file)
@@ -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);