mirror of
https://github.com/mirror/wget.git
synced 2025-01-06 10:20:56 +08:00
[svn] Remove unnecessary assignments to silence warnings from Borland C.
This commit is contained in:
parent
69e45d2c7c
commit
0b49b79bb7
@ -1,3 +1,17 @@
|
||||
2005-05-08 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* netrc.c (parse_netrc): Explicitly check for assignment != NULL
|
||||
to silence warning from Borland C.
|
||||
|
||||
* url.c (sync_path): Don't unnecessarily increment p.
|
||||
(url_parse): Don't unnecessarily set url_encode to NULL just
|
||||
prior to return from the function.
|
||||
|
||||
2005-05-08 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* log.c (escnonprint_internal): Place variable declarations
|
||||
before other statements.
|
||||
|
||||
2005-05-08 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* html-url.c: Include recur.h.
|
||||
|
@ -284,7 +284,7 @@ parse_netrc (const char *path)
|
||||
premature_token = NULL;
|
||||
|
||||
/* While there are lines in the file... */
|
||||
while ((line = read_whole_line (fp)))
|
||||
while ((line = read_whole_line (fp)) != NULL)
|
||||
{
|
||||
ln ++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user