From: Daniel J. Hofmann Date: Fri, 9 May 2014 15:25:07 +0000 (+0200) Subject: Fixed missing initializers issues X-Git-Tag: v0.81~30^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ba014459ede39be135da587c118faea5cd48a297;p=ceph.git Fixed missing initializers issues Signed-off-by: Daniel J. Hofmann --- diff --git a/src/common/ceph_crypto_cms.cc b/src/common/ceph_crypto_cms.cc index 4d7a4ef598bc..043376b4a9f2 100644 --- a/src/common/ceph_crypto_cms.cc +++ b/src/common/ceph_crypto_cms.cc @@ -313,7 +313,7 @@ loser: int ceph_decode_cms(CephContext *cct, bufferlist& cms_bl, bufferlist& decoded_bl) { NSSCMSMessage *cmsg = NULL; - struct decodeOptionsStr decodeOptions = { 0 }; + struct decodeOptionsStr decodeOptions = { }; struct optionsStr options; SECItem input; diff --git a/src/rbd_fuse/rbd-fuse.c b/src/rbd_fuse/rbd-fuse.c index 340c17dc30d2..6fc84f2e3b01 100644 --- a/src/rbd_fuse/rbd-fuse.c +++ b/src/rbd_fuse/rbd-fuse.c @@ -565,7 +565,7 @@ struct rbdfuse_attr { { "user.rbdfuse.imagesize", &imagesize }, { "user.rbdfuse.imageorder", &imageorder }, { "user.rbdfuse.imagefeatures", &imagefeatures }, - { NULL } + { NULL, NULL } }; int