summaryrefslogtreecommitdiff
path: root/src/ppp
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-12-18 08:36:51 +0100
committerLubomir Rintel <lkundrak@v3.sk>2017-12-18 13:29:32 +0100
commit6672c5e92ea593db2fa58e42992714aebf315831 (patch)
tree0e5fc518bec9eb56d376fb450c60d242abb09627 /src/ppp
parent0ae44fe7e28ea635f727ea524c31b590d26ebecc (diff)
downloadNetworkManager-6672c5e92ea593db2fa58e42992714aebf315831.tar.gz
all: get rid of a handful of unused-but-set variables
Diffstat (limited to 'src/ppp')
-rw-r--r--src/ppp/nm-ppp-manager-call.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ppp/nm-ppp-manager-call.c b/src/ppp/nm-ppp-manager-call.c
index ad3307a9d5..ed70f68790 100644
--- a/src/ppp/nm-ppp-manager-call.c
+++ b/src/ppp/nm-ppp-manager-call.c
@@ -44,11 +44,9 @@ nm_ppp_manager_create (const char *iface, GError **error)
GError *error_local = NULL;
NMPPPOps *ops;
struct stat st;
- int errsv;
if (G_UNLIKELY (!ppp_ops)) {
if (stat (PPP_PLUGIN_PATH, &st) != 0) {
- errsv = errno;
g_set_error_literal (error,
NM_MANAGER_ERROR, NM_MANAGER_ERROR_MISSING_PLUGIN,
"the PPP plugin " PPP_PLUGIN_PATH " is not installed");