[PATCH 1/2] vpn: Remove unused variable

Daniel Wagner wagi at monom.org
Fri Nov 23 04:16:45 PST 2012


From: Daniel Wagner <daniel.wagner at bmw-carit.de>

---
 plugins/vpn.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/plugins/vpn.c b/plugins/vpn.c
index b29dcc0..c7f59a9 100644
--- a/plugins/vpn.c
+++ b/plugins/vpn.c
@@ -454,7 +454,6 @@ static void connect_reply(DBusPendingCall *call, void *user_data)
 {
 	DBusMessage *reply;
 	DBusError error;
-	struct connection_data *data;
 	struct config_create_data *cb_data = user_data;
 
 	if (dbus_pending_call_get_completed(call) == FALSE)
@@ -478,7 +477,6 @@ static void connect_reply(DBusPendingCall *call, void *user_data)
 						ECONNREFUSED, NULL);
 				free_config_cb_data(cb_data);
 			}
-			data->cb_data = NULL;
 			goto done;
 		}
 		dbus_error_free(&error);
-- 
1.8.0.rc0




More information about the connman mailing list