file-has-acl: suppress a warning from gcc -Wsuggest-attribute=const
authorJim Meyering <meyering@redhat.com>
Thu, 2 Feb 2012 08:12:13 +0000 (09:12 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 2 Feb 2012 08:12:13 +0000 (09:12 +0100)
commit93f8bee70d1bc611bead8a826edf0a932c2b8999
treeb740eb42f4b563d5ec43324eac802a7b89e075f8
parente9e8aba12af3c903edd422fa036a356c5b2f313a
file-has-acl: suppress a warning from gcc -Wsuggest-attribute=const

* lib/file-has-acl.c (file_has_acl): This function (for some #ifdefs)
would evoke a new gcc warning.  Given all of the #ifdefs, it is better
not even to try to add the attribute.  Instead, add a pragma to suppress
the suggestion/warning.
ChangeLog
lib/file-has-acl.c