mesh: Fix snprintf return values not being checked
authorBrian Gix <brian.gix@intel.com>
Wed, 29 Jun 2022 21:02:37 +0000 (14:02 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
commitdcb9af1c0c2b8409ede729eec7b077cc8fec1aa6
tree7c5d90ff909e9e2ea406268de6259803cac8e4e6
parent57476e46c7e7e4833456cd284d4d9d4b2686477e
mesh: Fix snprintf return values not being checked

Some versions of the GCC compiler complain when the return value of
snprintf is not checked. This patch cleans up the Mesh JSON parser.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
mesh/mesh-config-json.c