summaryrefslogtreecommitdiff
path: root/mesh/mesh-config-json.c
diff options
context:
space:
mode:
authorBrian Gix <brian.gix@intel.com>2020-04-17 11:57:21 -0700
committerBrian Gix <brian.gix@intel.com>2020-04-18 08:21:03 -0700
commitef0970a7235298237eda295e01045ae9660ae0da (patch)
tree9f36ba0ca19b753f8aeef01cbb687873152e6ab8 /mesh/mesh-config-json.c
parent8519cdbf4f7fa541e852608cbe7044df2dfe8470 (diff)
downloadbluez-ef0970a7235298237eda295e01045ae9660ae0da.tar.gz
mesh: Fix GCC 10.0 warnings
Diffstat (limited to 'mesh/mesh-config-json.c')
-rw-r--r--mesh/mesh-config-json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/mesh-config-json.c b/mesh/mesh-config-json.c
index 97267b6c3..7362112f2 100644
--- a/mesh/mesh-config-json.c
+++ b/mesh/mesh-config-json.c
@@ -1980,7 +1980,7 @@ bool mesh_config_model_sub_del_all(struct mesh_config *cfg, uint16_t addr,
bool mesh_config_write_seq_number(struct mesh_config *cfg, uint32_t seq,
bool cache)
{
- int value;
+ int value = 0;
uint32_t cached = 0;
if (!cfg)