From: Mika Laitio Date: Thu, 16 Aug 2012 12:14:01 +0000 (+0300) Subject: fix possibility for unitialized variable X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=dc2109a53a831c9543e8e3c2ef78666df6c72f95;p=libplp.git fix possibility for unitialized variable Signed-off-by: Mika Laitio --- diff --git a/src/DeviceConfig.cc b/src/DeviceConfig.cc index a257275..7b68473 100644 --- a/src/DeviceConfig.cc +++ b/src/DeviceConfig.cc @@ -159,6 +159,7 @@ bool DeviceConfig::set_config_value(string key, string cfg_fl; bool ret_val; + ret_val = PLP_ERR; cfg_dir = get_config_path_name(); cfg_fl = DEVICE_CONFIG__FILE_NAME; if (uci_handle != NULL) {