[rtems commit] ftpd: Fix set but not used warning
Sebastian Huber
sebh at rtems.org
Tue Dec 19 06:35:56 UTC 2023
Module: rtems
Branch: master
Commit: d4b369814a07573d38b3fa2f11bd696bdee2a332
Changeset: http://git.rtems.org/rtems/commit/?id=d4b369814a07573d38b3fa2f11bd696bdee2a332
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Dec 19 08:03:12 2023 +0100
ftpd: Fix set but not used warning
---
cpukit/ftpd/ftpd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/cpukit/ftpd/ftpd.c b/cpukit/ftpd/ftpd.c
index fe5f190242..a925126dee 100644
--- a/cpukit/ftpd/ftpd.c
+++ b/cpukit/ftpd/ftpd.c
@@ -579,7 +579,6 @@ send_reply(FTPD_SessionInfo_t *info, int code, const char *text)
static void
set_socket_timeout(int s, int seconds)
{
- int res = 0;
struct timeval tv;
int len = sizeof(tv);
More information about the vc
mailing list