]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix unused finalizer function warning
authorRobbie Harwood <rharwood@redhat.com>
Thu, 6 Apr 2017 18:43:13 +0000 (14:43 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 14 Apr 2017 16:02:58 +0000 (12:02 -0400)
commit8815ad966df1b7c5a0120f88f656cde34290d5c1
tree33ddb8160c23a3a33b790d18ee96de8fdd9bcafa
parentd7b31c7b78336d7108ced656ee1caab0d6acaddd
Fix unused finalizer function warning

When we are building a static object containing a finalizer function
(e.g. for the profile library tests), mark the finalizer as unused to
avoid warnings in gcc and clang.

[ghudson@mit.edu: commented UNUSED definition and moved it so we can
use it elsewhere later; rewrote commit message]
src/include/k5-platform.h