tests: fix warnings about unused functions

https://github.com/NetworkManager/NetworkManager/pull/48
This commit is contained in:
Pavel Šimerda 2017-12-29 03:31:51 +01:00 committed by Thomas Haller
parent 24695a6d1c
commit 4650a4e1a1

View file

@ -869,6 +869,7 @@ test_dcb_bandwidth_sums (void)
/*****************************************************************************/
#if WITH_JSON_VALIDATION
static void
_test_team_config_sync (const char *team_config,
int notify_peer_count,
@ -1246,6 +1247,7 @@ test_team_port_full_config (void)
"\"send_always\": true}]}",
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_key", test_team_port_lacp_key);
g_test_add_func ("/libnm/settings/team-port/sycn_from_config_full", test_team_port_full_config);
#endif
return g_test_run ();