From dc2109a53a831c9543e8e3c2ef78666df6c72f95 Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Thu, 16 Aug 2012 15:14:01 +0300 Subject: [PATCH] fix possibility for 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 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) { -- 2.41.1