]> git.sur5r.net Git - openldap/commitdiff
silence (harmless) warnings
authorPierangelo Masarati <ando@openldap.org>
Sat, 7 Jan 2006 11:13:40 +0000 (11:13 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 7 Jan 2006 11:13:40 +0000 (11:13 +0000)
servers/slapd/overlays/syncprov.c

index 197c11c2b3b368ec08165aaa569abd089c8c39fd..5eb40f4c00431902e8fa782b5ff2cf3390eabbff 100644 (file)
@@ -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 );