summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-06-13 15:56:27 +0200
committerLubomir Rintel <lkundrak@v3.sk>2018-06-13 15:56:27 +0200
commit74c2a0aca4d89a58dd63981cbd1ca86ad0f0d46b (patch)
treebeae5cde3e64e63150861d434c3780f94461effa
parent4bb1130ce684fa6dd9dfbbe8b05ea7de02491d08 (diff)
downloadNetworkManager-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.c1
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);