diff options
author | Thomas Haller <thaller@redhat.com> | 2015-04-23 13:46:51 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-04-23 16:39:27 +0200 |
commit | fe6889f7b10f6d7a4e85bb3535f23ab33bfb9cb0 (patch) | |
tree | 3ad0bc47eae068ab67d6ae4176186d484d732641 | |
parent | b05c9d67e78354c03da5d0f7cac4b5e1671eaee3 (diff) | |
download | NetworkManager-fe6889f7b10f6d7a4e85bb3535f23ab33bfb9cb0.tar.gz |
platform: remove wrong assertion
This is a well known issue that we cannot convert some libnl
objects to NMPlatformObject. The to-string function for libnl
objects is only used for debug logging. No need to assert.
(cherry picked from commit 8f080747c622889decc1bd12176b48639597a453)
-rw-r--r-- | src/platform/nm-linux-platform.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index 0a08ed176c..5b2c308f18 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -1392,7 +1392,6 @@ static char to_string_buffer[255]; #define SET_AND_RETURN_STRING_BUFFER(...) \ G_STMT_START { \ g_snprintf (to_string_buffer, sizeof (to_string_buffer), ## __VA_ARGS__); \ - g_return_val_if_reached (to_string_buffer); \ return to_string_buffer; \ } G_STMT_END |