summaryrefslogtreecommitdiff
path: root/source4/param/loadparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param/loadparm.c')
-rw-r--r--source4/param/loadparm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 456a57c6fa..9aceaaa12a 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -1481,8 +1481,10 @@ void lp_talloc_free(void)
static char *lp_string(const char *s)
{
+#if 0 /* until REWRITE done to make thread-safe */
size_t len = s ? strlen(s) : 0;
char *ret;
+#endif
/* The follow debug is useful for tracking down memory problems
especially if you have an inner loop that is calling a lp_*()
@@ -1492,6 +1494,7 @@ static char *lp_string(const char *s)
#if 0
DEBUG(10, ("lp_string(%s)\n", s));
#endif
+
#if 0 /* until REWRITE done to make thread-safe */
if (!lp_talloc)
lp_talloc = talloc_init("lp_talloc");