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:38:51 +0200 |
commit | 8f080747c622889decc1bd12176b48639597a453 (patch) | |
tree | 76b2dde2374b89dba0ad0dd380f0e50a6e985553 | |
parent | 29fe1abf0dd77658cc2244b277817b99bd8159e8 (diff) | |
download | NetworkManager-8f080747c622889decc1bd12176b48639597a453.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.
-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 da804804d8..104319d854 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -1435,7 +1435,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 |