s3: remove now unneeded call to cmdline_messaging_context()
[slow/samba.git] / source3 / lib / popt_common_cmdline.c
index 79e34847f48d2743fab4ce3895c2d01df87a613e..39a787510a32e8155d786bcc34abf85f5a2a5e5a 100644 (file)
@@ -102,15 +102,8 @@ static void popt_common_credentials_callback(poptContext con,
        }
 
        if (reason == POPT_CALLBACK_REASON_POST) {
-               struct messaging_context *msg_ctx = NULL;
                bool ok;
 
-               msg_ctx = cmdline_messaging_context(get_dyn_CONFIGFILE());
-               if (msg_ctx == NULL) {
-                       fprintf(stderr, "Unable to initialize "
-                               "messaging context\n");
-               }
-
                ok = lp_load_client(get_dyn_CONFIGFILE());
                if (!ok) {
                        const char *pname = poptGetInvocationName(con);