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(a)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/