charon-nm: Remove unused variable
authorTobias Brunner <tobias@strongswan.org>
Mon, 5 Feb 2018 14:11:03 +0000 (15:11 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 5 Feb 2018 14:11:03 +0000 (15:11 +0100)
src/charon-nm/nm/nm_service.c

index e64a6c6..9beac39 100644 (file)
@@ -758,8 +758,6 @@ static gboolean do_disconnect(gpointer plugin)
  */
 static gboolean disconnect(NMVpnServicePlugin *plugin, GError **err)
 {
-       NMStrongswanPluginPrivate *priv = NM_STRONGSWAN_PLUGIN_GET_PRIVATE(plugin);
-
        /* enqueue the actual disconnection, because we may be called in
         * response to a listener_t callback and the SA enumeration would
         * possibly deadlock. */