]> git.michaelhowe.org Git - packages/o/openafs.git/commit
xdr: Len can never be negative
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 30 Mar 2012 18:40:30 +0000 (19:40 +0100)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 29 Jan 2014 19:17:36 +0000 (11:17 -0800)
commit71e3c5d6ca4e1d75504249693fe9f4587c870487
treea694adb6a5b5afeb6f2a0fc0d507db1b15bf3dac
parent2ca29f568956b045f5e3ec27a7dc45683fbd5c67
xdr: Len can never be negative

The len parameter to xdr_len is unsigned, so can never be negative.
Don't bother testing to see if it is negative, so that clang likes us
again.

Reviewed-on: http://gerrit.openafs.org/7089
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit f1842bcb87c84e8862ca521f491215e42ce1ee2a)

Change-Id: I1cf030b8e9f79bdf867bcaecfd59d8ade7fc8c25
Reviewed-on: http://gerrit.openafs.org/10734
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/rx/xdr_mem.c