You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by İsmail Dönmez <is...@namtrac.org> on 2011/05/02 14:45:05 UTC

[PATCH] Fix ldap_set_rebind_proc detection with gcc 4.6

Hi;

Gcc now correctly warns for set but unused
variables(-Wunused-but-set-variable) and this causes a compile error
while detecting
ldap_set_rebind_proc argument count because the tmp variable is set but
unused. Attached patch fixes this by simply using (void)tmp; to make gcc
happy.

Regards,
ismail