summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp/fetch.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-06-24 15:34:31 +0000
committerru <ru@FreeBSD.org>2000-06-24 15:34:31 +0000
commitf86fac3085989f9da9b6412106f428dd3138c544 (patch)
treeafa1a1b1f126ea13d9b0181dc79b697b1170f290 /usr.bin/ftp/fetch.c
parent659df59b0e36fdcc741f84bef9a6c11908fa5a42 (diff)
downloadFreeBSD-src-f86fac3085989f9da9b6412106f428dd3138c544.zip
FreeBSD-src-f86fac3085989f9da9b6412106f428dd3138c544.tar.gz
- Reflect `gateport' variable type change.
- Make it compile with -Wall. PR: 18619 Submitted by: David Malone <dwmalone@maths.tcd.ie> Reviewed by: ru
Diffstat (limited to 'usr.bin/ftp/fetch.c')
-rw-r--r--usr.bin/ftp/fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c
index 0643e5d..ae5a2fa 100644
--- a/usr.bin/ftp/fetch.c
+++ b/usr.bin/ftp/fetch.c
@@ -114,10 +114,12 @@ url_get(origline, proxyenv)
s = -1;
proxy = NULL;
isftpurl = 0;
+ res0 = NULL;
#ifdef __GNUC__ /* XXX: to shut up gcc warnings */
(void)&savefile;
(void)&proxy;
+ (void)&res0;
#endif
line = strdup(origline);
OpenPOWER on IntegriCloud