summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-01 16:02:54 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-02 05:42:37 +0200
commit7e52436673402095811eb081a0c036427fd31f84 (patch)
treeffd0fa83df1db50a82dc2147d4b887c4c4acc70f
parent2240ac96c1dc328e8a57342a7cdc7766b972e2bc (diff)
downloadsamba-7e52436673402095811eb081a0c036427fd31f84.tar.gz
samba-7e52436673402095811eb081a0c036427fd31f84.tar.bz2
samba-7e52436673402095811eb081a0c036427fd31f84.zip
s4-param Remove unused 'announce version'
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jul 2 05:42:37 CEST 2011 on sn-devel-104
-rw-r--r--source4/param/loadparm.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 4deed32926..eafe8333ea 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -85,8 +85,8 @@ static bool defaults_saved = false;
char *tls_dhpfile; \
char *loglevel; \
char *panic_action; \
- int bPreferredMaster; \
- char *szAnnounceVersion; /* This is initialised in init_globals */
+ int bPreferredMaster;
+
#define LOADPARM_EXTRA_LOCALS \
struct parmlist_entry *param_opt; \
char *szService; \
@@ -757,14 +757,6 @@ static struct parm_struct parm_table[] = {
},
{
- .label = "announce version",
- .type = P_STRING,
- .p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(szAnnounceVersion),
- .special = NULL,
- .enum_list = NULL
- },
- {
.label = "max mux",
.type = P_INTEGER,
.p_class = P_GLOBAL,