The following commit has been merged in the master branch:
commit 2ceb387191d4dced7815237c20a9b2cb577ad3df
Author: Ben Kaduk <[email protected]>
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 <[email protected]>
    Reviewed-by: Chas Williams - CONTRACTOR <[email protected]>
    Reviewed-by: Garrett Wollman <[email protected]>
    Reviewed-by: Jeffrey Altman <[email protected]>

 src/rxkad/rxkad_common.c |    4 ++--
 src/util/uuid.c          |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to