mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 11:19:16 +02:00
tests: fix warnings about unused functions
https://github.com/NetworkManager/NetworkManager/pull/48
This commit is contained in:
parent
24695a6d1c
commit
4650a4e1a1
1 changed files with 2 additions and 1 deletions
|
|
@ -869,6 +869,7 @@ test_dcb_bandwidth_sums (void)
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
#if WITH_JSON_VALIDATION
|
||||||
static void
|
static void
|
||||||
_test_team_config_sync (const char *team_config,
|
_test_team_config_sync (const char *team_config,
|
||||||
int notify_peer_count,
|
int notify_peer_count,
|
||||||
|
|
@ -1246,6 +1247,7 @@ test_team_port_full_config (void)
|
||||||
"\"send_always\": true}]}",
|
"\"send_always\": true}]}",
|
||||||
10, 20, true, 30, 40, NULL);
|
10, 20, true, 30, 40, NULL);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
|
@ -1625,7 +1627,6 @@ main (int argc, char **argv)
|
||||||
g_test_add_func ("/libnm/settings/team-port/sync_from_config_lacp_prio", test_team_port_lacp_prio);
|
g_test_add_func ("/libnm/settings/team-port/sync_from_config_lacp_prio", test_team_port_lacp_prio);
|
||||||
g_test_add_func ("/libnm/settings/team-port/sync_from_config_lacp_key", test_team_port_lacp_key);
|
g_test_add_func ("/libnm/settings/team-port/sync_from_config_lacp_key", test_team_port_lacp_key);
|
||||||
g_test_add_func ("/libnm/settings/team-port/sycn_from_config_full", test_team_port_full_config);
|
g_test_add_func ("/libnm/settings/team-port/sycn_from_config_full", test_team_port_full_config);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return g_test_run ();
|
return g_test_run ();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue