s3: Remove a pointless #endif/#ifdef pair
authorVolker Lendecke <vl@samba.org>
Thu, 22 Oct 2009 14:32:13 +0000 (16:32 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 22 Oct 2009 14:33:44 +0000 (16:33 +0200)
source3/lib/dbwrap.c

index 67c08a6085f659f49de367383add8e8065c26765..8b3db8940aab13545a3e7fa8833cd03fd6313d17 100644 (file)
@@ -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;
        }