From 658f55bbb73a199fa51fc945216660be76fffc1b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 29 Jun 2011 13:22:26 +1000 Subject: s3-param Remove unused FLAG_DOS_STRING --- source3/include/smb.h | 1 - source3/param/loadparm.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/include/smb.h b/source3/include/smb.h index 152db48db5..598a0e9c4a 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -756,7 +756,6 @@ struct parm_struct { #define FLAG_DEVELOPER 0x0040 /* No longer used */ #define FLAG_DEPRECATED 0x1000 /* options that should no longer be used */ #define FLAG_HIDE 0x2000 /* options that should be hidden in SWAT */ -#define FLAG_DOS_STRING 0x4000 /* convert from UNIX to DOS codepage when reading this string. */ #define FLAG_META 0x8000 /* A meta directive - not a real parameter */ #define FLAG_CMDLINE 0x10000 /* option has been overridden */ diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 3c213420ae..ee14c19a32 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -6754,10 +6754,10 @@ static void show_parameter(int parmIndex) "P_ENUM", "P_SEP"}; unsigned flags[] = { FLAG_BASIC, FLAG_SHARE, FLAG_PRINT, FLAG_GLOBAL, FLAG_WIZARD, FLAG_ADVANCED, FLAG_DEVELOPER, FLAG_DEPRECATED, - FLAG_HIDE, FLAG_DOS_STRING}; + FLAG_HIDE}; const char *flag_names[] = { "FLAG_BASIC", "FLAG_SHARE", "FLAG_PRINT", "FLAG_GLOBAL", "FLAG_WIZARD", "FLAG_ADVANCED", "FLAG_DEVELOPER", - "FLAG_DEPRECATED", "FLAG_HIDE", "FLAG_DOS_STRING", NULL}; + "FLAG_DEPRECATED", "FLAG_HIDE", NULL}; printf("%s=%s", parm_table[parmIndex].label, type[parm_table[parmIndex].type]); -- cgit