mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 10:46:33 +00:00
Remove unused variable on non-windows
This commit is contained in:
parent
52679d2784
commit
317263b31c
@ -1933,9 +1933,9 @@ public:
|
||||
|
||||
if (syncRoutes) {
|
||||
// Get tap device name (use LUID in hex on Windows) and IP addresses.
|
||||
char tapdevbuf[64];
|
||||
std::string tapdev;
|
||||
#if defined(__WINDOWS__) && !defined(ZT_SDK)
|
||||
char tapdevbuf[64];
|
||||
OSUtils::ztsnprintf(tapdevbuf,sizeof(tapdevbuf),"%.16llx",(unsigned long long)((WindowsEthernetTap *)(n.tap.get()))->luid().Value);
|
||||
tapdev = tapdevbuf;
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user