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
1 changed files with 3 additions and 0 deletions

View File

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