s4-param Remove unused 'announce version'
authorAndrew Bartlett <abartlet@samba.org>
Fri, 1 Jul 2011 06:02:54 +0000 (16:02 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 2 Jul 2011 03:42:37 +0000 (05:42 +0200)
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sat Jul  2 05:42:37 CEST 2011 on sn-devel-104

source4/param/loadparm.c

index 4deed3292676d02489fd1f2efc31ddc877a4f180..eafe8333eac844b0084eb44329410dcb95d4eb3a 100644 (file)
@@ -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;                                \
@@ -756,14 +756,6 @@ static struct parm_struct parm_table[] = {
                .enum_list      = NULL
        },
 
-       {
-               .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,