summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-03-04 08:36:13 +0100
committerThomas Haller <thaller@redhat.com>2016-03-04 08:37:54 +0100
commit1bf76b784f41424ded835587c3fe87219f41c5b2 (patch)
tree18d5fbe202e5dcd8e841d5cbab871c6920eec4bb
parent21ff0420511975ec3669563f48c0288717c84b66 (diff)
downloadNetworkManager-1bf76b784f41424ded835587c3fe87219f41c5b2.tar.gz
ifcfg-rh/tests: remove call to nm_connection_normalize()
Coverity complains that the return value is not checked. Normaliziation here is not necessary.
-rw-r--r--src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c b/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c
index 8ca5c8bbe0..ed62ffa0f8 100644
--- a/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c
+++ b/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c
@@ -3560,9 +3560,6 @@ test_write_wired_static (void)
TEST_SCRATCH_DIR "/network-scripts/",
&testfile);
- /* reread will be normalized, so we must normalize connection too. */
- nm_connection_normalize (connection, NULL, NULL, NULL);
-
reread = _connection_from_file (testfile, NULL, TYPE_ETHERNET, NULL);
unlink (testfile);