diff options
author | Rich Megginson <rmeggins@redhat.com> | 2005-02-15 18:46:46 +0000 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2005-02-15 18:46:46 +0000 |
commit | 17c28fc2a0e36d75856c7eb5c0bcca19523de167 (patch) | |
tree | e5eea28127edc009b333f8101df6f068779df157 | |
parent | efac90bad8f5e21c05d5ea1b77f5186c9393429d (diff) | |
download | ds-17c28fc2a0e36d75856c7eb5c0bcca19523de167.tar.gz ds-17c28fc2a0e36d75856c7eb5c0bcca19523de167.tar.xz ds-17c28fc2a0e36d75856c7eb5c0bcca19523de167.zip |
Fixed problem with declaration after executable code.
-rw-r--r-- | ldap/servers/plugins/replication/repl5_replica.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ldap/servers/plugins/replication/repl5_replica.c b/ldap/servers/plugins/replication/repl5_replica.c index 96f491c9..007f3371 100644 --- a/ldap/servers/plugins/replication/repl5_replica.c +++ b/ldap/servers/plugins/replication/repl5_replica.c @@ -2339,6 +2339,7 @@ int process_reap_entry (Slapi_Entry *entry, void *cb_data) /* this is a pointer into the actual value in the Replica object - so that if the value is set in the replica, we will know about it immediately */ PRBool *tombstone_reap_stop = ((reap_callback_data *)cb_data)->tombstone_reap_stop; + const CSN *deletion_csn = NULL; /* abort reaping if we've been told to stop or we're shutting down */ if (*tombstone_reap_stop || g_get_shutdown()) { @@ -2352,7 +2353,7 @@ int process_reap_entry (Slapi_Entry *entry, void *cb_data) objectclass attribute values - if we need more attributes returned by the search in the future, see _replica_reap_tombstones below and add more to the attrs array */ - const CSN *deletion_csn = _get_deletion_csn(entry); + deletion_csn = _get_deletion_csn(entry); if ((NULL == deletion_csn || csn_compare(deletion_csn, purge_csn) < 0) && (!is_ruv_tombstone_entry(entry))) { |