all: explicitly ignore return values

Coverity warns that usually we check for the return value.
This commit is contained in:
Thomas Haller
2016-03-04 09:02:45 +01:00
parent 9f16498938
commit d17aedf91f
3 changed files with 4 additions and 3 deletions

View File

@@ -3925,7 +3925,7 @@ link_add (NMPlatform *platform,
* bond0 automatically.
*/
if (!g_file_test ("/sys/class/net/bonding_masters", G_FILE_TEST_EXISTS))
nm_utils_modprobe (NULL, TRUE, "bonding", "max_bonds=0", NULL);
(void) nm_utils_modprobe (NULL, TRUE, "bonding", "max_bonds=0", NULL);
}
_LOGD ("link: add link '%s' of type '%s' (%d)",