diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 15:26:30 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 15:26:30 -0600 |
commit | 76d6af0fd310967d8bf08d01cfc1db00e4a0c757 (patch) | |
tree | 963a7f1a3e29449a2389cfbe0053d608e7e9d16a /apps/netutils/ftpc/ftpc_chmod.c | |
parent | 6b0412f5128e2fdf94852de586b3f90cbf476240 (diff) | |
download | nuttx-76d6af0fd310967d8bf08d01cfc1db00e4a0c757.tar.gz nuttx-76d6af0fd310967d8bf08d01cfc1db00e4a0c757.tar.bz2 nuttx-76d6af0fd310967d8bf08d01cfc1db00e4a0c757.zip |
Fixes for more issues found by cppcheck
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" */ |