Change-Id: Iea550aa011f411a20490e9df2de14e24535c58c8
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
FILE *file = NULL;
assert(!!conf);
- if (conf) {
- filename = g_strdup(conf);
- }
+ filename = g_strdup(conf);
file = fopen(filename, "r");
if (!file) {
}
/* network */
- gchar const* proxy_addr;
+ gchar const* proxy_addr = NULL;
int proxy_addr_len = 0;
const char *http_proxy = get_http_proxy_addr();
}
g_strfreev(proxy);
}
- gchar const* tap_enabled = g_strdup_printf("%s=%s", OPT_USE_TAP, is_netclient_tap_attached() ? "true" : "false");
+ gchar const* tap_enabled = g_strdup_printf("%s=%s", OPT_USE_TAP,
+ is_netclient_tap_attached() ? "true" : "false");
int tap_opt_len = (int)strlen(tap_enabled);
#ifdef CONFIG_WIN32