[master] 358fb47 Remove a couple of #ifdefs that serve no purpose anymore.

Poul-Henning Kamp phk at FreeBSD.org
Mon Jul 28 10:00:09 CEST 2014


commit 358fb4790f977eba5ef910879607cb7ce507eb7a
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Jul 28 07:27:56 2014 +0000

    Remove a couple of #ifdefs that serve no purpose anymore.

diff --git a/bin/varnishd/mgt/mgt_param_tbl.c b/bin/varnishd/mgt/mgt_param_tbl.c
index 90c37fc..5df87bb 100644
--- a/bin/varnishd/mgt/mgt_param_tbl.c
+++ b/bin/varnishd/mgt/mgt_param_tbl.c
@@ -534,21 +534,13 @@ struct parspec mgt_parspec[] = {
 		"Directory from which relative VCL filenames (vcl.load and "
 		"include) are opened.",
 		0,
-#ifdef VARNISH_VCL_DIR
 		VARNISH_VCL_DIR,
-#else
-		".",
-#endif
 		NULL },
 	{ "vmod_dir", tweak_string, &mgt_vmod_dir,
 		NULL, NULL,
 		"Directory where VCL modules are to be found.",
 		0,
-#ifdef VARNISH_VMOD_DIR
 		VARNISH_VMOD_DIR,
-#else
-		".",
-#endif
 		NULL },
 
 	{ "vcc_err_unref", tweak_bool, &mgt_vcc_err_unref,



More information about the varnish-commit mailing list