mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 18:10:08 +01:00
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:
parent
b05c9d67e7
commit
fe6889f7b1
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue