On 12/19/2012 10:27 AM, Ondrej Kos wrote:
i noticed warning during compilation:
src/providers/ldap/sdap_sudo.c: In function 'sdap_sudo_schedule_refresh':
src/providers/ldap/sdap_sudo.c:1236:9: warning: 'send_fn' may be used
uninitialized in this function [-Wmaybe-uninitialized]
patch is attached
Ondra
Hi,
thanks. FYI you need at least -O1.
I see also:
src/providers/ldap/sdap_async_sudo.c: In function
'sdap_sudo_load_sudoers_done':
src/providers/ldap/sdap_async_sudo.c:579:9: warning: 'ret' may be used
uninitialized in this function [-Wmaybe-uninitialized]
src/providers/ldap/sdap_async_sudo.c:543:13: note: 'ret' was declared here
Can you fix it too in this patch?