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"
(cherry picked from commit 5c3682d7a1
)
This commit is contained in:
parent
97f9f8e909
commit
8abb67b842
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?
|
#ifndef _WIN32 // TODO need graceful async exit support on Windows?
|
||||||
auto monitor = !recursive ? std::make_unique<MonitorFdHup>(from.fd) : nullptr;
|
auto monitor = !recursive ? std::make_unique<MonitorFdHup>(from.fd) : nullptr;
|
||||||
|
(void) monitor; // suppress warning
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Exchange the greeting. */
|
/* Exchange the greeting. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue