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

This commit is contained in:
Max Kellermann 2018-02-24 23:17:36 +01:00
parent 0ebeaa9ac2
commit 418f71ec0f

View File

@ -40,6 +40,9 @@ public:
~ScopeNetInit() noexcept {
WSACleanup();
}
#else
public:
ScopeNetInit() {}
#endif
};