From: Phong Tran Date: Wed, 17 Apr 2019 15:58:40 +0000 (+0700) Subject: samples: wrong parameter for get_new_board() X-Git-Tag: 7.99.1~9 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=commitdiff_plain;h=13457f6458e1f604e437ce7a9a680c8703078fbf samples: wrong parameter for get_new_board() for fixing warning: too many arguments in call to 'get_new_board' Change-Id: I7b3d175310156ea3d2efed29e344f01c9904d534 Signed-off-by: Phong Tran --- diff --git a/bindings/samples/tic-tac-toe.c b/bindings/samples/tic-tac-toe.c index f8bf6219..2cac6f63 100644 --- a/bindings/samples/tic-tac-toe.c +++ b/bindings/samples/tic-tac-toe.c @@ -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; }