From 2c5bf74c71443f1680fef4fc0daa4a4c9dd10ad8 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 12 Feb 2010 14:15:27 +0100 Subject: Supress warnings with -O2 --- server/db/sysdb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/db') diff --git a/server/db/sysdb.c b/server/db/sysdb.c index 88d60118..b3f81a08 100644 --- a/server/db/sysdb.c +++ b/server/db/sysdb.c @@ -1188,7 +1188,7 @@ static int sysdb_check_upgrade_02(TALLOC_CTX *mem_ctx, if (ret != LDB_SUCCESS) { DEBUG(0, ("WARNING: Could not remove entry %s," " from old ldb file! (%d [%s])\n", - ldb_dn_get_linearized(msg->dn), + ldb_dn_get_linearized(orig_dn), ret, ldb_errstring(ldb))); } } @@ -1200,21 +1200,21 @@ static int sysdb_check_upgrade_02(TALLOC_CTX *mem_ctx, if (ret != LDB_SUCCESS) { DEBUG(9, ("WARNING: Could not remove entry %s," " from old ldb file! (%d [%s])\n", - ldb_dn_get_linearized(msg->dn), + ldb_dn_get_linearized(groups_dn), ret, ldb_errstring(ldb))); } ret = ldb_delete(ldb, users_dn); if (ret != LDB_SUCCESS) { DEBUG(9, ("WARNING: Could not remove entry %s," " from old ldb file! (%d [%s])\n", - ldb_dn_get_linearized(msg->dn), + ldb_dn_get_linearized(users_dn), ret, ldb_errstring(ldb))); } ret = ldb_delete(ldb, domain_dn); if (ret != LDB_SUCCESS) { DEBUG(9, ("WARNING: Could not remove entry %s," " from old ldb file! (%d [%s])\n", - ldb_dn_get_linearized(msg->dn), + ldb_dn_get_linearized(domain_dn), ret, ldb_errstring(ldb))); } -- cgit