diff options
author | ru <ru@FreeBSD.org> | 2000-06-24 15:34:31 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-06-24 15:34:31 +0000 |
commit | f86fac3085989f9da9b6412106f428dd3138c544 (patch) | |
tree | afa1a1b1f126ea13d9b0181dc79b697b1170f290 /usr.bin/ftp/fetch.c | |
parent | 659df59b0e36fdcc741f84bef9a6c11908fa5a42 (diff) | |
download | FreeBSD-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.c | 2 |
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); |