summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2013-05-17 14:16:26 +0200
committerKai Blin <kai@samba.org>2013-05-18 16:32:38 +0200
commit61a2ad3c020424cead067cbdc89ea6f25708fde4 (patch)
treed682669d810ba291a6afef8a411a5ad5245c0f40 /source3/lib
parenta3a3086a2a35021bcf4dd4d3bcaeb51eb1b44a19 (diff)
downloadsamba-61a2ad3c020424cead067cbdc89ea6f25708fde4.tar.gz
samba-61a2ad3c020424cead067cbdc89ea6f25708fde4.tar.bz2
samba-61a2ad3c020424cead067cbdc89ea6f25708fde4.zip
swat: Remove swat.
Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sat May 18 16:32:38 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/popt_common.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/lib/popt_common.c b/source3/lib/popt_common.c
index 1ec861906c..eb3e2a455c 100644
--- a/source3/lib/popt_common.c
+++ b/source3/lib/popt_common.c
@@ -203,7 +203,6 @@ struct poptOption popt_common_option[] = {
/* Handle command line options:
* --sbindir
* --bindir
- * --swatdir
* --lmhostsfile
* --libdir
* --modulesdir
@@ -219,7 +218,6 @@ struct poptOption popt_common_option[] = {
enum dyn_item{
DYN_SBINDIR = 1,
DYN_BINDIR,
- DYN_SWATDIR,
DYN_LMHOSTSFILE,
DYN_LIBDIR,
DYN_MODULESDIR,
@@ -252,12 +250,6 @@ static void popt_dynconfig_callback(poptContext con,
}
break;
- case DYN_SWATDIR:
- if (arg) {
- set_dyn_SWATDIR(arg);
- }
- break;
-
case DYN_LMHOSTSFILE:
if (arg) {
set_dyn_LMHOSTSFILE(arg);
@@ -329,8 +321,6 @@ const struct poptOption popt_common_dynconfig[] = {
"Path to sbin directory", "SBINDIR" },
{ "bindir", '\0' , POPT_ARG_STRING, NULL, DYN_BINDIR,
"Path to bin directory", "BINDIR" },
- { "swatdir", '\0' , POPT_ARG_STRING, NULL, DYN_SWATDIR,
- "Path to SWAT installation directory", "SWATDIR" },
{ "lmhostsfile", '\0' , POPT_ARG_STRING, NULL, DYN_LMHOSTSFILE,
"Path to lmhosts file", "LMHOSTSFILE" },
{ "libdir", '\0' , POPT_ARG_STRING, NULL, DYN_LIBDIR,