1
0
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:
hniksic 2001-11-17 20:14:12 -08:00
parent 6ef5baa07b
commit 09b0fe29a8
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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)