From a82ce7068d52d69e2059f4f038ff3edbca90326f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 26 Jul 2014 01:30:17 +0200 Subject: [PATCH] s3:param: move a variable into scope in lp_file_list_changed Signed-off-by: Michael Adam --- source3/param/loadparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index e75c4a8..7d5c511 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -2147,8 +2147,6 @@ bool lp_file_list_changed(void) DEBUG(6, ("lp_file_list_changed()\n")); while (f) { - time_t mod_time; - if (strequal(f->name, INCLUDE_REGISTRY_NAME)) { struct smbconf_ctx *conf_ctx = lp_smbconf_ctx(); @@ -2162,7 +2160,9 @@ bool lp_file_list_changed(void) return true; } } else { + time_t mod_time; char *n2 = NULL; + n2 = talloc_sub_basic(talloc_tos(), get_current_username(), current_user_info.domain, -- 1.9.1