From d4edbb5a0aae0211389ce86264809b4237c73769 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周日, 08 3月 2020 21:27:16 +0800 Subject: [PATCH] Issues #14 and #6 --- src/library/hw_identifier/ethernet.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/library/hw_identifier/ethernet.cpp b/src/library/hw_identifier/ethernet.cpp index 1d923e6..ce1d6de 100644 --- a/src/library/hw_identifier/ethernet.cpp +++ b/src/library/hw_identifier/ethernet.cpp @@ -32,7 +32,7 @@ } for (auto &it : adapters) { - unsigned int k, data_len, data_byte; + unsigned int k, data_len; array<uint8_t, HW_IDENTIFIER_PROPRIETARY_DATA> identifier; data_len = use_ip ? sizeof(os::OsAdapterInfo::ipv4_address) : sizeof(os::OsAdapterInfo::mac_address); -- Gitblit v1.9.1