apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From İsmail Dönmez <ism...@namtrac.org>
Subject [PATCH] Fix ldap_set_rebind_proc detection with gcc 4.6
Date Mon, 02 May 2011 12:45:05 GMT
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

Mime
View raw message