[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-856-g4fc9f9c

Jeremy Allison jra at samba.org
Thu Aug 6 12:47:57 MDT 2009


The branch, master has been updated
       via  4fc9f9c3f943cdeb27e37f0ee068cdd0da7cb00c (commit)
      from  8a5cc1317ad4f5705b8a74286eb2b7dfdc9d89b4 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 4fc9f9c3f943cdeb27e37f0ee068cdd0da7cb00c
Author: Jeremy Allison <jra at samba.org>
Date:   Thu Aug 6 11:47:08 2009 -0700

    Add define guards around otherwise unused variable.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 lib/tdb/common/open.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tdb/common/open.c b/lib/tdb/common/open.c
index 2dcdd4b..2e6a707 100644
--- a/lib/tdb/common/open.c
+++ b/lib/tdb/common/open.c
@@ -407,7 +407,10 @@ void *tdb_get_logging_private(struct tdb_context *tdb)
 
 static int tdb_reopen_internal(struct tdb_context *tdb, bool active_lock)
 {
+#if !defined(LIBREPLACE_PREAD_NOT_REPLACED) || \
+	!defined(LIBREPLACE_PWRITE_NOT_REPLACED)
 	struct stat st;
+#endif
 
 	if (tdb->flags & TDB_INTERNAL) {
 		return 0; /* Nothing to do. */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list