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 8f080747c6)
This commit is contained in:
Thomas Haller 2015-04-23 13:46:51 +02:00
parent b05c9d67e7
commit fe6889f7b1

View file

@ -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