mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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:
parent
58beda0121
commit
222fff253c
2 changed files with 0 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue