Remove unused variable on non-windows

This commit is contained in:
Adam Ierymenko 2020-11-02 19:09:11 -05:00
parent 52679d2784
commit 317263b31c
No known key found for this signature in database
GPG Key ID: C8877CF2D7A5D7F3

View File

@ -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