From 35dbb0b72ae7a74a7e0221aed7ac75000df4af23 Mon Sep 17 00:00:00 2001 From: Semun Lee Date: Thu, 26 Dec 2019 14:05:42 +0900 Subject: [PATCH] Fix build warnings for gcc 9 - remove #include - fix wrong log format Change-Id: I5a5ecc22b4b579810755e3a9891a05444a6c5f41 Signed-off-by: Semun Lee --- src/mptcp-internal.c | 1 - src/wifi-config.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mptcp-internal.c b/src/mptcp-internal.c index ff197bc..206cc6d 100755 --- a/src/mptcp-internal.c +++ b/src/mptcp-internal.c @@ -1,5 +1,4 @@ #include -#include #include #include #include diff --git a/src/wifi-config.c b/src/wifi-config.c index e81bc43..680246d 100755 --- a/src/wifi-config.c +++ b/src/wifi-config.c @@ -1374,7 +1374,7 @@ gboolean handle_save_configuration(Wifi *wifi, GDBusMethodInvocation *context, if (__remove_configuration(profileName) != TRUE) DBG("Failed to remove profile: [%s]", profileName); } else - ERR("Profile: [%s] does not exist", profileName); + ERR("Profile: [%s] does not exist", file); g_free(profileName); } -- 2.7.4