mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
libstore/daemon: make sure monitor is not considered "unused"
This commit is contained in:
parent
b050db951b
commit
5c3682d7a1
1 changed files with 1 additions and 0 deletions
|
@ -1025,6 +1025,7 @@ void processConnection(
|
|||
{
|
||||
#ifndef _WIN32 // TODO need graceful async exit support on Windows?
|
||||
auto monitor = !recursive ? std::make_unique<MonitorFdHup>(from.fd) : nullptr;
|
||||
(void) monitor; // suppress warning
|
||||
#endif
|
||||
|
||||
/* Exchange the greeting. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue