Commit 418f71ec authored by Max Kellermann's avatar Max Kellermann

net/Init: work around -Werror=unused-variable

parent 0ebeaa9a
...@@ -40,6 +40,9 @@ public: ...@@ -40,6 +40,9 @@ public:
~ScopeNetInit() noexcept { ~ScopeNetInit() noexcept {
WSACleanup(); WSACleanup();
} }
#else
public:
ScopeNetInit() {}
#endif #endif
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment