OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4102-g9f8b765
Gerrit Code Review
gerrit@openafs.org
Wed, 15 Jan 2014 19:30:51 -0800 (PST)
The following commit has been merged in the master branch:
commit 9f8b765bbdbb8913fcadbde8d3362039e9dc8e61
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu Jan 9 12:44:44 2014 -0600
opr: Silence rbtree warning
On OS X, gcc can complain that 'child' is uninitialized whenever this
'else if' condition is false. We already handled the case where both
node->right and node->left are non-NULL earlier in this function, so
this should never occur. So, to get rid of the warning, just always
take the path in the 'else if', and assert that the right child is
NULL.
Change-Id: I3575de84ea172d3c7e0e022809fdcd0e3b4dcc27
Reviewed-on: http://gerrit.openafs.org/10687
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/opr/rbtree.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository