mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Initialize vars to appease the compiler.
Published in <sxszo5kbxs3.fsf@florida.arsdigita.de>.
This commit is contained in:
parent
6ef5baa07b
commit
09b0fe29a8
@ -1,3 +1,8 @@
|
||||
2001-11-18 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* res.c (res_register_specs): Initialize OLD and HP_OLD to appease
|
||||
the compiler.
|
||||
|
||||
2001-11-18 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* http.c (gethttp): Print the whole response line when printing
|
||||
|
@ -487,6 +487,10 @@ res_register_specs (const char *host, int port, struct robot_specs *specs)
|
||||
if (!registered_specs)
|
||||
registered_specs = make_nocase_string_hash_table (0);
|
||||
|
||||
/* Required to shut up the compiler. */
|
||||
old = NULL;
|
||||
hp_old = NULL;
|
||||
|
||||
if (hash_table_get_pair (registered_specs, hp, hp_old, old))
|
||||
{
|
||||
if (old)
|
||||
|
Loading…
Reference in New Issue
Block a user