Eliminate warnings

This commit is contained in:
Gregory Nutt 2015-09-08 10:21:56 -06:00
parent f10f2de2e4
commit be5b2a5187

View File

@ -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;
}