mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-02 17:48:07 +02:00
device: drop an unused variable
src/devices/nm-device.c:7764:25: error: unused variable 'stable_hwaddr' [-Werror,-Wunused-variable]
gs_unref_bytes GBytes *stable_hwaddr = NULL;
^
This commit is contained in:
parent
4bb1130ce6
commit
74c2a0aca4
1 changed files with 0 additions and 1 deletions
|
|
@ -7761,7 +7761,6 @@ generate_duid_ll (const guint8 *hwaddr /* ETH_ALEN bytes */)
|
|||
GByteArray *duid_arr;
|
||||
const guint16 duid_type = htons (3);
|
||||
const guint16 hw_type = htons (ARPHRD_ETHER);
|
||||
gs_unref_bytes GBytes *stable_hwaddr = NULL;
|
||||
|
||||
duid_arr = g_byte_array_sized_new (2 + 2 + ETH_ALEN);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue