samples: wrong parameter for get_new_board() 71/21071/2
authorPhong Tran <tranmanphong@gmail.com>
Wed, 17 Apr 2019 15:58:40 +0000 (22:58 +0700)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 23 Apr 2019 09:06:33 +0000 (09:06 +0000)
for fixing
warning: too many arguments in call to 'get_new_board'

Change-Id: I7b3d175310156ea3d2efed29e344f01c9904d534
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
bindings/samples/tic-tac-toe.c

index f8bf621..2cac6f6 100644 (file)
@@ -470,7 +470,7 @@ static void join(afb_req_t req)
 
        /* none is a special id for joining a new session */
        if (strcmp(id, "none") == 0) {
-               new_board = get_new_board(req);
+               new_board = get_new_board();
                goto setctx;
        }