summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-09 11:18:43 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-10 16:45:12 +1100
commitabc90d8f2e56e50496392f9bf05fed85628e07f1 (patch)
treef23317181662c5cf2c827d63442eec685bee3aee /source4/lib
parent40bf23d862c92a3c519cffaf2175514a51ce3865 (diff)
downloadsamba-abc90d8f2e56e50496392f9bf05fed85628e07f1.tar.gz
samba-abc90d8f2e56e50496392f9bf05fed85628e07f1.tar.bz2
samba-abc90d8f2e56e50496392f9bf05fed85628e07f1.zip
s4-cmdline: Remove unused popt_common_dont_ask()
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/cmdline/popt_common.h2
-rw-r--r--source4/lib/cmdline/popt_credentials.c8
2 files changed, 0 insertions, 10 deletions
diff --git a/source4/lib/cmdline/popt_common.h b/source4/lib/cmdline/popt_common.h
index 8aed4d0496..e177df678f 100644
--- a/source4/lib/cmdline/popt_common.h
+++ b/source4/lib/cmdline/popt_common.h
@@ -40,6 +40,4 @@ extern struct poptOption popt_common_credentials4[];
extern struct cli_credentials *cmdline_credentials;
extern struct loadparm_context *cmdline_lp_ctx;
-void popt_common_dont_ask(void);
-
#endif /* _POPT_COMMON_H */
diff --git a/source4/lib/cmdline/popt_credentials.c b/source4/lib/cmdline/popt_credentials.c
index 497d2a7228..ea08f8b951 100644
--- a/source4/lib/cmdline/popt_credentials.c
+++ b/source4/lib/cmdline/popt_credentials.c
@@ -42,14 +42,6 @@ static bool machine_account_pending;
enum opt { OPT_SIMPLE_BIND_DN, OPT_PASSWORD, OPT_KERBEROS, OPT_SIGN, OPT_ENCRYPT, OPT_KRB5_CCACHE };
-/*
- disable asking for a password
-*/
-void popt_common_dont_ask(void)
-{
- dont_ask = true;
-}
-
static void popt_common_credentials_callback(poptContext con,
enum poptCallbackReason reason,
const struct poptOption *opt,