src/kauth/krb_udp.c: Remove redundant NULL check for array address
commitb6294fd5f484e933fff627a69032a8c5ef0de568
authorAnders Kaseorg <andersk@mit.edu>
Sat, 1 Aug 2015 09:52:59 +0000 (1 05:52 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Fri, 6 Nov 2015 12:30:17 +0000 (6 07:30 -0500)
treea5b2fa108f7d52169243975da06b0b62a89dd805
parent9ef3a6ae65bb80d320525ad561e10f960269d182
src/kauth/krb_udp.c: Remove redundant NULL check for array address

Resolves this warning with clang:

krb_udp.c:302:13: warning: address of array 'tentry.misc_auth_bytes' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if (tentry.misc_auth_bytes) {
        ~~  ~~~~~~~^~~~~~~~~~~~~~~

Reviewed-on: http://gerrit.openafs.org/11964
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 09bf3ebb26a3d8a4bd10571b394a59207a7f6980)

Change-Id: I94850d438902c358239142d696fae7206cef55a6
Reviewed-on: http://gerrit.openafs.org/12077
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/kauth/krb_udp.c