mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-04 08:17:58 +02:00
platform: fix double initialization
This commit is contained in:
parent
8b73812062
commit
708ee92c29
1 changed files with 1 additions and 1 deletions
|
|
@ -489,7 +489,7 @@ _vt_cmd_obj_to_string_link (const NMPObject *obj, NMPObjectToStringMode to_strin
|
||||||
static const char *
|
static const char *
|
||||||
_vt_cmd_obj_to_string_lnk_vlan (const NMPObject *obj, NMPObjectToStringMode to_string_mode, char *buf, gsize buf_size)
|
_vt_cmd_obj_to_string_lnk_vlan (const NMPObject *obj, NMPObjectToStringMode to_string_mode, char *buf, gsize buf_size)
|
||||||
{
|
{
|
||||||
const NMPClass *klass = NMP_OBJECT_GET_CLASS (obj);
|
const NMPClass *klass;
|
||||||
char buf2[sizeof (_nm_utils_to_string_buffer)];
|
char buf2[sizeof (_nm_utils_to_string_buffer)];
|
||||||
char *b;
|
char *b;
|
||||||
gsize l;
|
gsize l;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue