[Freeipa-devel] [PATCHES] Fix C compiler warnings
Martin Kosek
mkosek at redhat.com
Thu Jul 25 11:23:02 UTC 2013
On 07/24/2013 01:47 PM, Lukas Slebodnik wrote:
> ehlo,
>
> Three patches are attached.
> PATCH 1: fixes warning: passing argument from incompatible pointer type
> another posiible solution is to cast "(void *(*) (void *))" function pointer
> at function call pthread_create.
> PATCH 2: Remove unused variable
> PATCH 3: warning: variable was set, but it was not used.
> failcnt_interval = slapi_entry_attr_get_uint(policy_entry, "krbPwdFailureCountInterval");
> ^^^^^^
> Variable failcnt_interval is not used after this line.
> If this variable should be realy unused,
> then I can squash 3rd patch to 2nd.
> else "PATCH 3" only remove warrning and does not fix problem.
>
> LS
>
Thanks, ACK. Pushed to master.
Martin
More information about the Freeipa-devel
mailing list