diff options
author | Max Kellermann <max@musicpd.org> | 2018-02-24 23:17:36 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-02-24 23:17:36 +0100 |
commit | 418f71ec0f6c8523cf7e8c8abe14b429d68e9bba (patch) | |
tree | 18c822664234333bf1548c72589ca0087498e544 /src/net | |
parent | 0ebeaa9ac266ed112f21c0f961b76d441f422e4f (diff) |
net/Init: work around -Werror=unused-variable
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/Init.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/Init.hxx b/src/net/Init.hxx index 9e4581438..5163b9351 100644 --- a/src/net/Init.hxx +++ b/src/net/Init.hxx @@ -40,6 +40,9 @@ public: ~ScopeNetInit() noexcept { WSACleanup(); } +#else +public: + ScopeNetInit() {} #endif }; |