c724541 Ticket 47965 - Fix coverity issues (2014/11/24)

Authored and Committed by mreynolds 7 years ago
    Ticket 47965 - Fix coverity issues (2014/11/24)
    
    12864 - nesting level adjustment - sync_presist.c
    12867 - Uninitialized pointer read - repl5_replica.c
    12870 - Unused value - repl5_ruv.c
    12880, 12881, 12893 - Unused value - dblayer.c
    12887 - nesting level adjustment - acl.c
    12894 - nesting level adjustment - acl_ext.c
    12898 - Logically dead code - acllas.c
    12891 - Unused value - windows_inc_protocol.c
    12902 - Unused value - repl5_inc_protocol.c
    
    https://fedorahosted.org/389/ticket/47965
    
    Reviewed by: rmeggins(Thanks!)
    
    (cherry picked from commit da90d57c30bf93265f06499b8ea2102378a0ed12)
    
    Conflicts:
    	ldap/servers/plugins/sync/sync_persist.c
    
    (cherry picked from commit 0f210a7db73836899c9eefb5e45a36e7a98c696a)
    
    Conflicts:
    	ldap/servers/plugins/sync/sync_persist.c
    	ldap/servers/slapd/back-ldbm/dblayer.c
    
    (cherry picked from commit 53df6b2eb8a969b379f027d4aa155bace94a1868)
    
        
file modified
+26 -21