mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-22 06:41:26 +00:00
Fix two unused variables for windows build
This commit is contained in:
parent
3914d37c99
commit
00268bc160
|
@ -440,15 +440,18 @@ tun_setip(const char *ip, const char *other_ip, int netbits)
|
||||||
int i;
|
int i;
|
||||||
#ifndef LINUX
|
#ifndef LINUX
|
||||||
int r;
|
int r;
|
||||||
struct in_addr netip;
|
|
||||||
#endif
|
#endif
|
||||||
#ifdef WINDOWS32
|
#ifdef WINDOWS32
|
||||||
DWORD status;
|
DWORD status;
|
||||||
DWORD ipdata[3];
|
DWORD ipdata[3];
|
||||||
struct in_addr addr;
|
struct in_addr addr;
|
||||||
DWORD len;
|
DWORD len;
|
||||||
#endif
|
#else
|
||||||
const char *display_ip;
|
const char *display_ip;
|
||||||
|
#ifndef LINUX
|
||||||
|
struct in_addr netip;
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
netmask = 0;
|
netmask = 0;
|
||||||
for (i = 0; i < netbits; i++) {
|
for (i = 0; i < netbits; i++) {
|
||||||
|
|
Loading…
Reference in a new issue