diff options
author | Volker Lendecke <vl@samba.org> | 2012-04-18 14:23:06 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-04-18 18:16:27 +0200 |
commit | 0021fc17e4660eee8df98c5a5810a55e5e5effee (patch) | |
tree | 7de76c15a7b59364e9c7a63ba2be15168ee81c05 | |
parent | 2085c20bb123edb50098a11c22c103269d2f4fd9 (diff) | |
download | samba-0021fc17e4660eee8df98c5a5810a55e5e5effee.tar.gz samba-0021fc17e4660eee8df98c5a5810a55e5e5effee.tar.bz2 samba-0021fc17e4660eee8df98c5a5810a55e5e5effee.zip |
s3-dbwrap: Fix an unused var warning
-rw-r--r-- | source3/lib/dbwrap/dbwrap_ctdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index fe2af3609c..3d08d1c86f 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -1004,7 +1004,9 @@ static int db_ctdb_record_destr(struct db_record* data) /* Do I own this record? */ static bool db_ctdb_own_record(TDB_DATA ctdb_data, bool read_only) { +#ifdef HAVE_CTDB_WANT_READONLY_DECL struct ctdb_ltdb_header *hdr; +#endif if (ctdb_data.dptr == NULL) return false; |