From b21c869ac3053642a6f88f035d5b1d07e6ff0f8c Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 7 Jan 2006 11:13:40 +0000 Subject: [PATCH] silence (harmless) warnings --- servers/slapd/overlays/syncprov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.39.5