diff options
Diffstat (limited to 'src/command/NeighborCommands.cxx')
-rw-r--r-- | src/command/NeighborCommands.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/command/NeighborCommands.cxx b/src/command/NeighborCommands.cxx index d1b2ec7c7..254f7a346 100644 --- a/src/command/NeighborCommands.cxx +++ b/src/command/NeighborCommands.cxx @@ -40,10 +40,8 @@ neighbor_commands_available(const Instance &instance) } CommandResult -handle_listneighbors(Client &client, gcc_unused Request args) +handle_listneighbors(Client &client, gcc_unused Request args, Response &r) { - Response r(client); - const NeighborGlue *const neighbors = client.partition.instance.neighbors; if (neighbors == nullptr) { |