diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-06-13 15:56:27 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2018-06-13 15:56:27 +0200 |
commit | 74c2a0aca4d89a58dd63981cbd1ca86ad0f0d46b (patch) | |
tree | beae5cde3e64e63150861d434c3780f94461effa | |
parent | 4bb1130ce684fa6dd9dfbbe8b05ea7de02491d08 (diff) | |
download | NetworkManager-74c2a0aca4d89a58dd63981cbd1ca86ad0f0d46b.tar.gz |
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;
^
-rw-r--r-- | src/devices/nm-device.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 060e59d700..828ce3eb2b 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -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); |