diff --git a/netutils/ftpc/ftpc_transfer.c b/netutils/ftpc/ftpc_transfer.c index 8dbb2d0ad..24dbef987 100644 --- a/netutils/ftpc/ftpc_transfer.c +++ b/netutils/ftpc/ftpc_transfer.c @@ -371,8 +371,10 @@ int ftpc_xfrmode(struct ftpc_session_s *session, uint8_t xfrmode) */ ret = ftpc_cmd(session, "TYPE %c", xfrmode == FTPC_XFRMODE_ASCII ? 'A' : 'I'); + UNUSED(ret); session->xfrmode = xfrmode; } + return OK; }