diff options
author | SheetalPamecha <spamecha@redhat.com> | 2019-06-17 15:42:20 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-06-18 10:53:49 +0000 |
commit | b79222f650f6613758f036c749f5f879a54148a7 (patch) | |
tree | 663a433d7541a88362ffc149148352e8172c7cf2 /xlators/mgmt/glusterd/src/glusterd-snapshot.c | |
parent | 25ad5aca23b257cdd129cd1d4518b048fbba87bb (diff) |
core: fedora 30 compiler warnings
warning: ā%sā directive argument is null [-Wformat-overflow=]
Change-Id: I69b8d47f0002c58b00d1cc947fac6f1c64e0b295
updates: bz#1193929
Signed-off-by: SheetalPamecha <spamecha@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-snapshot.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-snapshot.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-snapshot.c b/xlators/mgmt/glusterd/src/glusterd-snapshot.c index ec630d55469..e8e342b6f6c 100644 --- a/xlators/mgmt/glusterd/src/glusterd-snapshot.c +++ b/xlators/mgmt/glusterd/src/glusterd-snapshot.c @@ -7709,7 +7709,6 @@ glusterd_snapshot_status_commit(dict_t *dict, char **op_errstr, xlator_t *this = NULL; int ret = -1; glusterd_conf_t *conf = NULL; - char *get_buffer = NULL; int32_t cmd = -1; char *snapname = NULL; glusterd_snap_t *snap = NULL; @@ -7778,8 +7777,7 @@ glusterd_snapshot_status_commit(dict_t *dict, char **op_errstr, if (ret) { gf_msg(this->name, GF_LOG_ERROR, 0, GD_MSG_SNAP_STATUS_FAIL, "Unable to " - "get status of snap %s", - get_buffer); + "get status of snap"); goto out; } |