From 3636d101aa519eb08952a078c71fcf0faea9efdd Mon Sep 17 00:00:00 2001 From: "alexis.lagoutte@gmail.com" Date: Fri, 25 Mar 2016 14:49:29 +0000 Subject: [PATCH] Fix unused function 'do_save' [-Wunused-function] FossilOrigin-Name: 6286c186f2d2c903286855c844bc9de084e278088458029ec32ac7d51c8cfa6d --- src/cw/cw_in_generic2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cw/cw_in_generic2.c b/src/cw/cw_in_generic2.c index 766ded6d..ee45384b 100644 --- a/src/cw/cw_in_generic2.c +++ b/src/cw/cw_in_generic2.c @@ -29,6 +29,7 @@ int static check_len(struct conn *conn, struct cw_action_in *a, uint8_t * data, } */ +#if 0 int static do_save(mbag_t itemstore, struct conn *conn, struct cw_action_in *a, uint8_t * data, int len, struct sockaddr *from) { @@ -92,6 +93,7 @@ int static do_save(mbag_t itemstore, struct conn *conn, struct cw_action_in *a, } +#endif int cw_in_generic2(struct conn *conn, struct cw_action_in *a, uint8_t * data, int len, struct sockaddr *from)