summaryrefslogtreecommitdiff
path: root/lib/param/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/param/util.c')
-rw-r--r--lib/param/util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/param/util.c b/lib/param/util.c
index 29266c493d..8c3badfcb9 100644
--- a/lib/param/util.c
+++ b/lib/param/util.c
@@ -206,11 +206,9 @@ char *lpcfg_private_db_path(TALLOC_CTX *mem_ctx,
{
const char *extension = ".tdb";
-#ifndef DISABLE_NTDB
if (lpcfg_use_ntdb(lp_ctx)) {
extension = ".ntdb";
}
-#endif
return talloc_asprintf(mem_ctx, "%s/%s%s",
lpcfg_private_dir(lp_ctx), name, extension);