Compilation warnings (ticket 47350)
Bug Description:
Get rid of the following warnings:
repl5_replica_config.c:543:14: warning: variable 'r' set but not used [-Wunused-but-set-variable]
repl5_replica_config.c:721: warning: implicit declaration of function 'valuearray_free'
repl5_replica_config.c: In function 'replica_config_search':
repl5_replica_config.c:799: warning: passing argument 2 of 'search_requested_attr' discards qualifiers from pointer target type
repl5_replica_config.c:753: note: expected 'char *' but argument is of type 'const char *'
repl5_replica_config.c:804: warning: passing argument 2 of 'search_requested_attr' discards qualifiers from pointer target type
repl5_replica_config.c:753: note: expected 'char *' but argument is of type 'const char *'
Fix Description:
https://fedorahosted.org/389/ticket/47350
Reviewed by: Mark Reynolds
Platforms tested: fedora
Flag Day: no
Doc impact: no