shithub: battleship

Download patch

ref: 05408750ca29435278342d3d5d7b6572248ce606
parent: e59ffbe6921ccea4d8039082d6d093568edfa08d
author: rodri <rgl@antares-labs.eu>
date: Sat Sep 16 10:52:54 EDT 2023

remove leftover msgq channel.

--- a/btsd.c
+++ b/btsd.c
@@ -11,7 +11,6 @@
 int debug;
 
 Channel *playerq;
-Channel *msgq;
 Channel *mmctl; /* matchmaker's */
 Match theater;
 RWLock theaterlk;
@@ -632,7 +631,6 @@
 		usage();
 
 	playerq = chancreate(sizeof(Player*), 8);
-	msgq = chancreate(sizeof(Msg*), 8);
 	mmctl = chancreate(sizeof(Msg*), 8);
 	theater.next = theater.prev = &theater;
 	proccreate(c2proc, nil, mainstacksize);