Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
78fcce2
)
samples: wrong parameter for get_new_board()
71/21071/2
author
Phong Tran
<tranmanphong@gmail.com>
Wed, 17 Apr 2019 15:58:40 +0000
(22:58 +0700)
committer
José 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
patch
|
blob
|
history
diff --git
a/bindings/samples/tic-tac-toe.c
b/bindings/samples/tic-tac-toe.c
index
f8bf621
..
2cac6f6
100644
(file)
--- 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) {
/* 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;
}
goto setctx;
}