mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 09:50:17 +01:00
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:
parent
40ce80cb50
commit
c898969110
1 changed files with 0 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue