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.master
parent
58beda0121
commit
222fff253c
|
@ -1046,12 +1046,3 @@ void run(const std::vector<int>& sockets)
|
|||
{
|
||||
daemonLoop(sockets);
|
||||
}
|
||||
|
||||
|
||||
void printHelp()
|
||||
{
|
||||
showManPage("nix-daemon");
|
||||
}
|
||||
|
||||
|
||||
string programId = "nix-daemon";
|
||||
|
|
|
@ -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;
|
||||
|
|
Reference in New Issue