[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 43/75: fix compiler warnings in hurd/libftpconn
From: |
Samuel Thibault |
Subject: |
[hurd] 43/75: fix compiler warnings in hurd/libftpconn |
Date: |
Thu, 14 Jan 2016 01:04:09 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch dde
in repository hurd.
commit 17668a5c621e54bc0b68dc6638590a587b52bb91
Author: Flavio Cruz <address@hidden>
Date: Tue Dec 29 22:45:01 2015 +0100
fix compiler warnings in hurd/libftpconn
---
libftpconn/cmd.c | 3 +--
libftpconn/reply.c | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/libftpconn/cmd.c b/libftpconn/cmd.c
index 803dda7..9916d03 100644
--- a/libftpconn/cmd.c
+++ b/libftpconn/cmd.c
@@ -156,9 +156,8 @@ ftp_conn_abort (struct ftp_conn *conn)
&& write (conn->control, abor, sizeof abor) == sizeof abor)
{
int reply;
- error_t err;
do
- err = ftp_conn_get_raw_reply (conn, &reply, 0);
+ ftp_conn_get_raw_reply (conn, &reply, 0);
while (reply == REPLY_ABORTED);
if (reply != REPLY_TRANS_OK && reply != REPLY_ABORT_OK)
ftp_conn_close (conn);
diff --git a/libftpconn/reply.c b/libftpconn/reply.c
index d39cdb0..a3eb4cf 100644
--- a/libftpconn/reply.c
+++ b/libftpconn/reply.c
@@ -151,8 +151,8 @@ ftp_conn_get_raw_reply (struct ftp_conn *conn, int *reply,
do
{
- const char *l;
- size_t len;
+ const char *l = NULL;
+ size_t len = 0;
error_t err = ftp_conn_getline (conn, &l, &len);
if (err)
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 48/75: drop the deprecated malloc/free hooks in hurd/mach-defpager, (continued)
- [hurd] 48/75: drop the deprecated malloc/free hooks in hurd/mach-defpager, Samuel Thibault, 2016/01/13
- [hurd] 38/75: fix compiler warnings in hurd/ext2fs, Samuel Thibault, 2016/01/13
- [hurd] 39/75: fix compiler warnings in hurd/console-client, Samuel Thibault, 2016/01/13
- [hurd] 51/75: Include missing header file in hurd/proc, Samuel Thibault, 2016/01/13
- [hurd] 34/75: boot: Fix boot.c compiler warning., Samuel Thibault, 2016/01/13
- [hurd] 53/75: fix compiler warnings in hurd/startup, Samuel Thibault, 2016/01/13
- [hurd] 36/75: fix compiler warnings in hurd/daemons, Samuel Thibault, 2016/01/13
- [hurd] 37/75: fix compiler warnings in hurd/exec, Samuel Thibault, 2016/01/13
- [hurd] 44/75: fix compiler warnings in hurd/libihash, Samuel Thibault, 2016/01/13
- [hurd] 42/75: fix compiler warnings in hurd/isofs, Samuel Thibault, 2016/01/13
- [hurd] 43/75: fix compiler warnings in hurd/libftpconn,
Samuel Thibault <=
- [hurd] 61/75: fix compiler warning in hurd/fstests, Samuel Thibault, 2016/01/13
- [hurd] 45/75: fix compiler warnings in hurd/libnetfs, Samuel Thibault, 2016/01/13
- [hurd] 59/75: Use DEVICE_IMPORTS to include libports/ports.h, Samuel Thibault, 2016/01/13
- [hurd] 46/75: fix compiler warnings in hurd/libshouldbeinlibc, Samuel Thibault, 2016/01/13