Parent: 2f52afa21a26354a540c1a288480511e90567c6f
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2023-06-13 23:32:11
Tree: 6828d785bcbc82f147c6544dea50479ca9cb3973
mesh: Fix build error This fixes the following error: In function ‘get_composition’, inlined from ‘cfg_srv_pkt’ at mesh/cfgmod-server.c:801:8: mesh/cfgmod-server.c:758:9: error: ‘comp’ may be used uninitialized [-Werror=maybe-uninitialized] 758 | memcpy(buf, comp, len); | ^~~~~~~~~~~~~~~~~~~~~~ mesh/cfgmod-server.c: In function ‘cfg_srv_pkt’: mesh/cfgmod-server.c:739:24: note: ‘comp’ was declared here 739 | const uint8_t *comp; | ^~~~
Diffstat
| M | mesh/cfgmod-server.c | | | 4 | ++- - |
1 files changed, 2 insertions(+), 2 deletions(-)