Fix Warning

This commit is contained in:
2026-04-26 19:06:54 -04:00
parent 5c2bb282ce
commit 96b1b6b848
2 changed files with 0 additions and 3 deletions

View File

@@ -51,7 +51,6 @@ void UpdateBall(Ball* ball, Paddle* p)
int CheckBallLose(GameData* gd, Ball* ball) int CheckBallLose(GameData* gd, Ball* ball)
{ {
int loseCol = 0;
if (gd->host) { if (gd->host) {
if (ball->x <= LEFT_COL) { if (ball->x <= LEFT_COL) {
return true; return true;

View File

@@ -35,8 +35,6 @@ void CreateGameServer(Server* serv, GameData* gd)
FD_ZERO(&fds); FD_ZERO(&fds);
FD_SET(s.server_fd, &fds); FD_SET(s.server_fd, &fds);
struct timeval tv = { 0, 0 }; // non-blocking check
SetupTermWin(); SetupTermWin();
DrawWalls(*gd); DrawWalls(*gd);