windows build warnings
Hi,
our windows build seems to have grown a few new warnings with some of the recent refactoring...?
tun.c: In function 'ipconfig_register_dns':
tun.c:4870:10: warning: variable 'status' set but not used [-Wunused-but-set-variable]
bool status;
^
tun.c: In function 'service_enable_dhcp':
tun.c:5202:11: warning: unused variable 'len' [-Wunused-variable]
DWORD len;
^win32.c: In function 'win32_pause':
win32.c:688:13: warning: variable 'status' set but not used [-Wunused-but-set-va riable]
int status;
^can I interest someone to run a windows build, and go for the low-hanging fruit?
("unused variable" in #ifdef _WIN32 code is likely fairly straightforward, signed/unsigned pointer stuff might not be worth jumping through hoops because fixing MinGW might make the warning reoccur on the MSVC side...)
Gert Doering
Signature · 6 lines
have you enabled IPv6 on something today...? SpaceNet AG Vorstand: Sebastian v. Bomhard, Michael Emmer Joseph-Dollinger-Bogen 14 Aufsichtsratsvors.: A. Grundner-Culemann D-80807 Muenchen HRB: 136055 (AG Muenchen) Tel: +49 (0)89/32356-444 USt-IdNr.: DE813185279