From: Mika Laitio Date: Sat, 16 Apr 2011 21:45:03 +0000 (+0300) Subject: remove warning from possible unitialized variable X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d6c14157bb43b7c356dd4042987a31f28c6e99ad;p=libplp.git remove warning from possible unitialized variable Signed-off-by: Mika Laitio --- 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) &&