]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Fixed missing initializers issues 1796/head
authorDaniel J. Hofmann <daniel@trvx.org>
Fri, 9 May 2014 15:25:07 +0000 (17:25 +0200)
committerDaniel J. Hofmann <daniel@trvx.org>
Fri, 9 May 2014 15:25:07 +0000 (17:25 +0200)
Signed-off-by: Daniel J. Hofmann <daniel@trvx.org>
src/common/ceph_crypto_cms.cc
src/rbd_fuse/rbd-fuse.c

index 4d7a4ef598bc02871a5fc4cece11d41205763e7c..043376b4a9f20ae7fbc87e24885973fa797f5407 100644 (file)
@@ -313,7 +313,7 @@ loser:
 int ceph_decode_cms(CephContext *cct, bufferlist& cms_bl, bufferlist& decoded_bl)
 {
     NSSCMSMessage *cmsg = NULL;
-    struct decodeOptionsStr decodeOptions = { };
+    struct decodeOptionsStr decodeOptions = { };
     struct optionsStr options;
     SECItem input;
 
index 340c17dc30d27f6ca535266d542bcd61231b7f90..6fc84f2e3b0152906c8456bff77c923287d6cab7 100644 (file)
@@ -565,7 +565,7 @@ struct rbdfuse_attr {
        { "user.rbdfuse.imagesize", &imagesize },
        { "user.rbdfuse.imageorder", &imageorder },
        { "user.rbdfuse.imagefeatures", &imagefeatures },
-       { NULL }
+       { NULL, NULL }
 };
 
 int