0001-src-menu_lan.c-Remove-unused-duplicate-lan_player_in.patch 751 B

123456789101112131415161718192021222324252627
  1. From c471e2a94798787afbad4e547a1e2485ef9835db Mon Sep 17 00:00:00 2001
  2. From: Adrian Bunk <bunk@debian.org>
  3. Date: Sun, 3 Jan 2021 14:22:29 +0200
  4. Subject: src/menu_lan.c: Remove unused duplicate lan_player_info definition
  5. This broke the build with gcc 10:
  6. https://bugs.debian.org/976513
  7. ---
  8. src/menu_lan.c | 1 -
  9. 1 file changed, 1 deletion(-)
  10. diff --git a/src/menu_lan.c b/src/menu_lan.c
  11. index 4512eb1..d85f2c6 100644
  12. --- a/src/menu_lan.c
  13. +++ b/src/menu_lan.c
  14. @@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
  15. /* lan_player_type now defined in network.h */
  16. -lan_player_type lan_player_info[MAX_CLIENTS];
  17. /* Local function prototypes: ------------------- */
  18. void draw_player_table(void);
  19. --
  20. 2.20.1