diff --git a/src/ball.c b/src/ball.c index bbaf506..54c0829 100644 --- a/src/ball.c +++ b/src/ball.c @@ -51,7 +51,6 @@ void UpdateBall(Ball* ball, Paddle* p) int CheckBallLose(GameData* gd, Ball* ball) { - int loseCol = 0; if (gd->host) { if (ball->x <= LEFT_COL) { return true; diff --git a/src/gameServer.c b/src/gameServer.c index d188294..288494b 100644 --- a/src/gameServer.c +++ b/src/gameServer.c @@ -35,8 +35,6 @@ void CreateGameServer(Server* serv, GameData* gd) FD_ZERO(&fds); FD_SET(s.server_fd, &fds); - struct timeval tv = { 0, 0 }; // non-blocking check - SetupTermWin(); DrawWalls(*gd);