Fix build failure due to unused variable left-over from simplification gnome712720
authorTJ <gnome@iam.tj>
Wed, 20 Nov 2013 02:49:35 +0000 (02:49 +0000)
committerTJ <gnome@iam.tj>
Wed, 20 Nov 2013 02:49:35 +0000 (02:49 +0000)
src/nm-openvpn-service.c

index 729ae00..cb53a2c 100644 (file)
@@ -905,7 +905,7 @@ nm_openvpn_start_openvpn_binary (NMOpenvpnPlugin *plugin,
 
        tmp = nm_setting_vpn_get_data_item (s_vpn, NM_OPENVPN_KEY_REMOTE);
        if (tmp && strlen (tmp)) {
-               char *tok, *tok2, *p;
+               char *tok, *tok2;
                while ((tok = strsep((char**)&tmp, ",")) != NULL) {
                        if (strlen(tok)) {
                                add_openvpn_arg (args, "--remote");