net/Init: work around -Werror=unused-variable
This commit is contained in:
parent
0ebeaa9ac2
commit
418f71ec0f
@ -40,6 +40,9 @@ public:
|
|||||||
~ScopeNetInit() noexcept {
|
~ScopeNetInit() noexcept {
|
||||||
WSACleanup();
|
WSACleanup();
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
public:
|
||||||
|
ScopeNetInit() {}
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user