summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/plugin_internal_op.c
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2007-10-18 00:08:38 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2007-10-18 00:08:38 +0000
commit19cd513a509aa6e45361df774e74f2d39451e08a (patch)
tree13ad0e58a486afd842559e1d74d019190c3f1d79 /ldap/servers/slapd/plugin_internal_op.c
parent878c163528ed089dae1edb8295a6dd4ae842b9b4 (diff)
downloadds-19cd513a509aa6e45361df774e74f2d39451e08a.tar.gz
ds-19cd513a509aa6e45361df774e74f2d39451e08a.tar.xz
ds-19cd513a509aa6e45361df774e74f2d39451e08a.zip
Resolves: #188320
Summary: HP-UX: warnings reported by the HP-UX compiler
Diffstat (limited to 'ldap/servers/slapd/plugin_internal_op.c')
-rw-r--r--ldap/servers/slapd/plugin_internal_op.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ldap/servers/slapd/plugin_internal_op.c b/ldap/servers/slapd/plugin_internal_op.c
index e936c1a1..30aa1101 100644
--- a/ldap/servers/slapd/plugin_internal_op.c
+++ b/ldap/servers/slapd/plugin_internal_op.c
@@ -591,7 +591,6 @@ static int search_internal_pb (Slapi_PBlock *pb)
int opresult = 0;
Slapi_Entry **pb_search_entries = NULL;
char **pb_search_referrals = NULL;
- int rc;
PR_ASSERT (pb);
@@ -609,7 +608,7 @@ static int search_internal_pb (Slapi_PBlock *pb)
/* call internal search callback, define search_entry_callback, and result_callback such
that the results of the search are stuffed into pb */
- rc = search_internal_callback_pb (pb, &psid, internal_plugin_result_callback,
+ search_internal_callback_pb (pb, &psid, internal_plugin_result_callback,
internal_plugin_search_entry_callback,
internal_plugin_search_referral_callback);
opresult = psid.rc;