diff options
author | Inga Stotland <inga.stotland@intel.com> | 2019-07-04 00:15:16 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2019-07-04 10:08:49 -0700 |
commit | 5f896b47955b5e35d62edb87e44b9baeb9992684 (patch) | |
tree | a0d779404740f6cee62d53a181f6e7fa1a1e3381 /mesh/cfgmod-server.c | |
parent | 5764d8bfdb29527cd320cf1f946808dd26527d45 (diff) | |
download | bluez-5f896b47955b5e35d62edb87e44b9baeb9992684.tar.gz |
mesh: Remove redundant initialization
This fixes a case where a variable was initialized twice.
Diffstat (limited to 'mesh/cfgmod-server.c')
-rw-r--r-- | mesh/cfgmod-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/cfgmod-server.c b/mesh/cfgmod-server.c index 634ac006b..bb78cead6 100644 --- a/mesh/cfgmod-server.c +++ b/mesh/cfgmod-server.c @@ -742,7 +742,7 @@ static bool cfg_srv_pkt(uint16_t src, uint32_t dst, uint8_t ttl, const void *user_data) { struct mesh_node *node = (struct mesh_node *) user_data; - struct mesh_net *net = node_get_net(node); + struct mesh_net *net; const uint8_t *pkt = data; struct timeval time_now; uint32_t opcode, tmp32; |