OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4330-g2ceb387
Gerrit Code Review
gerrit@openafs.org
Wed, 13 Aug 2014 11:40:01 -0400
The following commit has been merged in the master branch:
commit 2ceb387191d4dced7815237c20a9b2cb577ad3df
Author: Ben Kaduk <kaduk@mit.edu>
Date: Mon Jul 21 17:30:36 2014 -0400
Remove some incomplete struct initializers
C99 requires that objects with static linkage, which includes
global variables, be initialized to zero/NULL.
It is possible that old compilers required a hack of using one
explicit initializer and relying on the requirement from C99 that
the elements of the structure not listed in the initializer be
initialized as if it had static linkage. These incomplete initializers
seem to have been introduced to support old OS X compilers which
are not believed to still be in use.
Using a complete explicit initializer is undesired here, as the
rxkad statistics structures have a great number of elements and
the uuid structure is somewhat complicated.
Change-Id: Iefe7842cbf874252267cb3a8aee5d90ec2cab169
Reviewed-on: http://gerrit.openafs.org/11374
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Garrett Wollman <wollman@csail.mit.edu>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/rxkad/rxkad_common.c | 4 ++--
src/util/uuid.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository