summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/gfdb/gfdb_data_store.c
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-10-21 03:55:04 +0300
committerYaniv Kaul <ykaul@redhat.com>2018-11-11 16:06:29 +0000
commitcac2dba48bf8029b2b0421850fcc4598e33569f6 (patch)
tree0ce59ef4a72c4b3f0dea9bff5bec0ccfbd247796 /libglusterfs/src/gfdb/gfdb_data_store.c
parentdb28fc7a35b784a4ca6a361961081f93e968cfcb (diff)
libglusterfs multiple files: remove dead initilization
Per newer GCC releases and clang-scan, some trivial dead initialization (values that were set but were never read) were removed. Compile-tested only! updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com> Change-Id: Ia9959b2ff87d2e9cb46864e68ffe7dccb984db34
Diffstat (limited to 'libglusterfs/src/gfdb/gfdb_data_store.c')
-rw-r--r--libglusterfs/src/gfdb/gfdb_data_store.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libglusterfs/src/gfdb/gfdb_data_store.c b/libglusterfs/src/gfdb/gfdb_data_store.c
index 426596c571e..ab56a51d462 100644
--- a/libglusterfs/src/gfdb/gfdb_data_store.c
+++ b/libglusterfs/src/gfdb/gfdb_data_store.c
@@ -267,7 +267,6 @@ init_db(dict_t *args, gfdb_db_type_t gfdb_db_type)
goto init_db_failed;
}
_conn_node->gfdb_connection.gfdb_db_type = gfdb_db_type;
- ret = 0;
return _conn_node;