[SSSD] [PATCH] INI: Silence compilation warnings

Dmitri Pal dpal at redhat.com
Tue Mar 6 19:37:42 UTC 2012


On 03/06/2012 12:31 PM, Jakub Hrozek wrote:
> I saw two compilation warnings when reviewing the recent path_utils
> patches. The first hunk is a parameter that is unused, but set, the
> second was an implicit function declaration due to forgotten private
> header include.
>
>
> _______________________________________________
> sssd-devel mailing list
> sssd-devel at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/sssd-devel

I am curios about the first issue. What is the problem with it?
I usually do something with unused arguments because otherwise the
compiler gives a warning that variable is passed but not used in the
function.
Removing this assignment would to the best of my knowledge produce a
warning at least used to.

-- 
Thank you,
Dmitri Pal

Sr. Engineering Manager IPA project,
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120306/cfe18e3d/attachment.html>


More information about the sssd-devel mailing list