Sfoglia il codice sorgente

Remove dead function init_debug()

Bryan Drewery 7 anni fa
parent
commit
2988d40fb4
3 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. 0 4
      src/debug.cc
  2. 0 1
      src/debug.h
  3. 0 1
      src/main.cc

+ 0 - 4
src/debug.cc

@@ -80,10 +80,6 @@ void setlimits()
   setrlimit(RLIMIT_NOFILE, &fdlim);
 }
 
-void init_debug()
-{
-}
-
 void sdprintf (const char *format, ...)
 {
   char s[2001] = "";

+ 0 - 1
src/debug.h

@@ -36,7 +36,6 @@ extern char		get_buf[GET_BUFS][SGRAB + 5];
 void setlimits();
 void sdprintf (const char *, ...) __attribute__((format(printf, 1, 2)));
 void init_signals();
-void init_debug();
 
 #ifdef DEBUG
 #undef _assert

+ 0 - 1
src/main.cc

@@ -722,7 +722,6 @@ int main(int argc, char **argv)
   srandom(now % (mypid + getppid()) * randint(1000));
 
   setlimits();
-  init_debug();
   init_signals();
 
   if (strcmp(fake_md5, STR("596a96cc7bf9108cd896f33c44aedc8a"))) {