CorentinGS / Battleship

Loop body is not enclosed in {} CXX-W1243
Anti-pattern
Minor
a year agoa year old
Loop body is not enclosed in {}
25
26typedef struct node_t Node;
27
28typedef struct {29    Node* first;30    Node* last;
31} LinkedList;
32
Loop body is not enclosed in {}
 18#include "bomb.h"
 19#include "ai.h"
 20
 21#define forever       for (;;) 22#define CHANGE_PLAYER (game->turn = (game->turn + 1) % 2) 23
 24static int game_action_fire(Board* board);
 25static int game_action_move(Board* board);