Просмотр исходного кода

Remove dead function lower_bot_linked

Bryan Drewery 7 лет назад
Родитель
Сommit
37fdc7446b
2 измененных файлов с 1 добавлено и 5 удалено
  1. 0 4
      src/botnet.cc
  2. 1 1
      src/botnet.h

+ 0 - 4
src/botnet.cc

@@ -1813,8 +1813,4 @@ void zapfbot(int idx)
   lostdcc(idx);
   lostdcc(idx);
 }
 }
 
 
-void lower_bot_linked(int idx)
-{
-}
-
 /* vim: set sts=2 sw=2 ts=8 et: */
 /* vim: set sts=2 sw=2 ts=8 et: */

+ 1 - 1
src/botnet.h

@@ -11,7 +11,7 @@ extern tand_t		*tandbot;
 extern party_t		*party;
 extern party_t		*party;
 extern int		tands;
 extern int		tands;
 
 
-void lower_bot_linked(int idx);
+#define lower_bot_linked(idx) do {} while (0)
 void answer_local_whom(int, int);
 void answer_local_whom(int, int);
 char *lastbot(const char *) __attribute__((pure));
 char *lastbot(const char *) __attribute__((pure));
 int nextbot(const char *) __attribute__((pure));
 int nextbot(const char *) __attribute__((pure));