From: Pierangelo Masarati Date: Sat, 7 Jan 2006 11:13:40 +0000 (+0000) Subject: silence (harmless) warnings X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~413 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b21c869ac3053642a6f88f035d5b1d07e6ff0f8c;p=openldap silence (harmless) warnings --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 197c11c2b3..5eb40f4c00 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -821,7 +821,7 @@ syncprov_qplay( Operation *op, slap_overinst *on, syncops *so ) syncres *sr; Entry *e; opcookie opc; - int rc; + int rc = 0; opc.son = on; op->o_bd->bd_info = (BackendInfo *)on->on_info; @@ -897,7 +897,7 @@ syncprov_qtask( void *ctx, void *arg ) op->o_private = NULL; op->o_callback = NULL; - syncprov_qplay( op, on, so ); + (void)syncprov_qplay( op, on, so ); /* decrement use count... */ syncprov_free_syncop( so );