summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-10-22 16:32:13 +0200
committerVolker Lendecke <vl@samba.org>2009-10-22 16:33:44 +0200
commit5c6944d33f7d4b3ec74d8ab29d344cd33583ede9 (patch)
tree7987ad394c7255f9c7cda2696a0551f8e015fb46 /source3/lib
parent77991fc6f817e05b684a9b6de4c061258ade87eb (diff)
downloadsamba-5c6944d33f7d4b3ec74d8ab29d344cd33583ede9.tar.gz
samba-5c6944d33f7d4b3ec74d8ab29d344cd33583ede9.tar.bz2
samba-5c6944d33f7d4b3ec74d8ab29d344cd33583ede9.zip
s3: Remove a pointless #endif/#ifdef pair
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/dbwrap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/dbwrap.c b/source3/lib/dbwrap.c
index 67c08a6085..8b3db8940a 100644
--- a/source3/lib/dbwrap.c
+++ b/source3/lib/dbwrap.c
@@ -103,9 +103,7 @@ struct db_context *db_open(TALLOC_CTX *mem_ctx,
struct db_context *result = NULL;
#ifdef CLUSTER_SUPPORT
const char *sockname = lp_ctdbd_socket();
-#endif
-#ifdef CLUSTER_SUPPORT
if(!sockname || !*sockname) {
sockname = CTDB_PATH;
}