From af780b0f01488e025b9257aa2f9aa34d42087745 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 18 Sep 2003 01:34:59 +0000 Subject: Quieten a compiler warning. (This used to be commit 9edf634569d89b152fc73eae70245cbf338b498d) --- source4/param/loadparm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/param/loadparm.c') 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"); -- cgit