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

View file

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