settings: Fix scan-build warning
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 18 Oct 2022 21:23:50 +0000 (14:23 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
commitabb4a35b867aa3d6db628fd5ed14191294e56092
tree086fe6a94757d7a2e9170cfbb0606bbfab4e5bfa
parent5957a3629933f90524576408d300e6aec3fe2110
settings: Fix scan-build warning

This fixes the following warning:

src/settings.c:281:7: warning: Branch condition evaluates to a garbage
value [core.uninitialized.Branch]
                if (ret) {
                    ^~~

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