From 8b9df85daa84a54ca0829e0f8650787bdbe84e8a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 16 Apr 2019 20:04:53 +0200 Subject: [PATCH] neighbor/smbclient: remove unused attribute "alive" --- src/neighbor/plugins/SmbclientNeighborPlugin.cxx | 7 +++---- 1 file 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