diff options
Diffstat (limited to 'apps/netutils/ftpc/ftpc_chmod.c')
-rw-r--r-- | apps/netutils/ftpc/ftpc_chmod.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/netutils/ftpc/ftpc_chmod.c b/apps/netutils/ftpc/ftpc_chmod.c index e5cd48b46..ea84c66de 100644 --- a/apps/netutils/ftpc/ftpc_chmod.c +++ b/apps/netutils/ftpc/ftpc_chmod.c @@ -79,13 +79,12 @@ int ftpc_chmod(SESSION handle, FAR const char *path, FAR const char *mode) { FAR struct ftpc_session_s *session = (FAR struct ftpc_session_s *)handle; - int ret; /* Does the server support the size CHMOD command? */ if (FTPC_HAS_CHMOD(session)) { - ret = ftpc_cmd(session, "SITE CHMOD %s %s", path, mode); + (void)ftpc_cmd(session, "SITE CHMOD %s %s", path, mode); /* Check for "502 Command not implemented" */ |