test-common: drop unused variables

src/platform/tests/test-common.c:1500:17: error: unused variable 'dev' [-Werror,-Wunused-variable]
                gs_free char *dev = NULL;
                              ^
src/platform/tests/test-common.c:1501:17: error: unused variable 'local' [-Werror,-Wunused-variable]
                gs_free char *local = NULL, *remote = NULL;
                              ^
src/platform/tests/test-common.c:1501:32: error: unused variable 'remote' [-Werror,-Wunused-variable]
                gs_free char *local = NULL, *remote = NULL;
                                             ^
Fixes: bd8ab54b8e
This commit is contained in:
Lubomir Rintel 2018-04-23 08:26:41 +02:00
parent 40ce80cb50
commit c898969110

View file

@ -1497,9 +1497,6 @@ nmtstp_link_tun_add (NMPlatform *platform,
_init_platform (&platform, external_command);
if (external_command) {
gs_free char *dev = NULL;
gs_free char *local = NULL, *remote = NULL;
g_assert (lnk->persist);
err = nmtstp_run_command ("ip tuntap add"