daemon: Remove dead code.

Reported by Noisytoot on #guix.

* nix/nix-daemon/shared.hh (showManPage): Remove.
* nix/nix-daemon/nix-daemon.cc (printHelp, programId): Remove.
This commit is contained in:
Ludovic Courtès 2021-04-03 21:35:51 +02:00
parent 58beda0121
commit 222fff253c
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
2 changed files with 0 additions and 18 deletions

View File

@ -1046,12 +1046,3 @@ void run(const std::vector<int>& sockets)
{
daemonLoop(sockets);
}
void printHelp()
{
showManPage("nix-daemon");
}
string programId = "nix-daemon";

View File

@ -20,18 +20,9 @@
#pragma once
#include <string>
#include <stdlib.h>
#include <signal.h>
static inline void
showManPage (const char *name)
{
/* This idea is evil. Abort. */
abort ();
}
extern volatile ::sig_atomic_t blockInt;
extern char **argvSaved;