summaryrefslogtreecommitdiff
path: root/src/neighbor
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-04-16 20:04:53 +0200
committerMax Kellermann <max@musicpd.org>2019-04-16 20:04:53 +0200
commit8b9df85daa84a54ca0829e0f8650787bdbe84e8a (patch)
tree7b734a73dfd40d54432e9f943a888a5de1c1655b /src/neighbor
parent38d0f02e83df2cc39cf5fab65c2dafdc55e4fd14 (diff)
neighbor/smbclient: remove unused attribute "alive"
Diffstat (limited to 'src/neighbor')
-rw-r--r--src/neighbor/plugins/SmbclientNeighborPlugin.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
index 4ed196bef..82ce13ac1 100644
--- a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
+++ b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
@@ -39,11 +39,10 @@ class SmbclientNeighborExplorer final : public NeighborExplorer {
struct Server {
std::string name, comment;
- bool alive;
-
Server(std::string &&_name, std::string &&_comment)
- :name(std::move(_name)), comment(std::move(_comment)),
- alive(true) {}
+ :name(std::move(_name)),
+ comment(std::move(_comment)) {}
+
Server(const Server &) = delete;
gcc_pure