kauth: ka_CellToRealm's "realm" parameter cannot be null
authorGarrett Wollman <wollman@csail.mit.edu>
Wed, 25 Jul 2012 04:06:05 +0000 (00:06 -0400)
committerDerrick Brashear <shadow@dementix.org>
Thu, 26 Jul 2012 17:52:11 +0000 (10:52 -0700)
commit3f691e663cc55ffb89386e53535030c659cb2fc2
treea72a431065ab99f21c33495c8bca85c5d7a856c1
parentf6d7a4b426f55db366113bbdda4da71570310410
kauth: ka_CellToRealm's "realm" parameter cannot be null

Annotate ka_CellToRealm with AFS_NONNULL to indicate that its
"realm" parameter cannot be null; it does not make sense to call
this routine without this parameter.  (The static analyzer inlines
the call to ka_ExpandCell and concludes that "realm" might be null;
the annotation will prevent that and avoid a false positive.)

Change-Id: Id7fac19cf4eb4bdb1decde81d951b8bcd96fce71
Reviewed-on: http://gerrit.openafs.org/7865
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/kauth/kautils.p.h