From ba014459ede39be135da587c118faea5cd48a297 Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Fri, 9 May 2014 17:25:07 +0200 Subject: [PATCH] Fixed missing initializers issues Signed-off-by: Daniel J. Hofmann --- src/common/ceph_crypto_cms.cc | 2 +- src/rbd_fuse/rbd-fuse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/ceph_crypto_cms.cc b/src/common/ceph_crypto_cms.cc index 4d7a4ef598b..043376b4a9f 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 340c17dc30d..6fc84f2e3b0 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