mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Remove unused variable on non-windows
This commit is contained in:
parent
52679d2784
commit
317263b31c
1 changed files with 1 additions and 1 deletions
|
@ -1933,9 +1933,9 @@ public:
|
||||||
|
|
||||||
if (syncRoutes) {
|
if (syncRoutes) {
|
||||||
// Get tap device name (use LUID in hex on Windows) and IP addresses.
|
// Get tap device name (use LUID in hex on Windows) and IP addresses.
|
||||||
char tapdevbuf[64];
|
|
||||||
std::string tapdev;
|
std::string tapdev;
|
||||||
#if defined(__WINDOWS__) && !defined(ZT_SDK)
|
#if defined(__WINDOWS__) && !defined(ZT_SDK)
|
||||||
|
char tapdevbuf[64];
|
||||||
OSUtils::ztsnprintf(tapdevbuf,sizeof(tapdevbuf),"%.16llx",(unsigned long long)((WindowsEthernetTap *)(n.tap.get()))->luid().Value);
|
OSUtils::ztsnprintf(tapdevbuf,sizeof(tapdevbuf),"%.16llx",(unsigned long long)((WindowsEthernetTap *)(n.tap.get()))->luid().Value);
|
||||||
tapdev = tapdevbuf;
|
tapdev = tapdevbuf;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue