From d6c14157bb43b7c356dd4042987a31f28c6e99ad Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Sun, 17 Apr 2011 00:45:03 +0300 Subject: [PATCH] remove warning from possible unitialized variable Signed-off-by: Mika Laitio --- src/DeviceConfig.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DeviceConfig.cc b/src/DeviceConfig.cc index 18870b7..c3e8bad 100644 --- a/src/DeviceConfig.cc +++ b/src/DeviceConfig.cc @@ -95,6 +95,7 @@ static bool set_config_value_to_section(ConfigHandle *cfg_handle, bool ret_val; ret_val = false; + err_flg = UCI_OK; if ((cfg_handle != NULL) && (cfg_handle->_ctx != NULL) && (cfg_handle->_pkg != NULL) && -- 2.41.1