]> git.michaelhowe.org Git - packages/o/openafs.git/commit
crypto: make krb5_enomem a static inline function
authorMarc Dionne <marc.c.dionne@gmail.com>
Sat, 2 Mar 2013 15:06:47 +0000 (10:06 -0500)
committerDerrick Brashear <shadow@your-file-system.com>
Mon, 4 Mar 2013 02:58:59 +0000 (18:58 -0800)
commitbdd9ad146c8a3d05b926dba3e01299ce79cd5ad3
tree2c06adbb9e437186f4b078f1e0573cdd979fc1b0
parent1c4e7ddb498f86b232f0f1de1f40690e97bf6a65
crypto: make krb5_enomem a static inline function

With the recent update to the imported heimdal code, krb5_enomem
is used in a few places as a simple statement that doesn't make
use of the value.  With the current definition, this triggers
compiler warnings because the statement has no effect.

Replace the definition with a static inline function that returns
the expected value.

Change-Id: I799022b69a43ab635560a1a5ea8f67f0a8f7230a
Reviewed-on: http://gerrit.openafs.org/9335
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/crypto/rfc3961/krb5_locl.h