]> sjero.net Git - wget/blobdiff - src/res.c
[svn] Initialize vars to appease the compiler.
[wget] / src / res.c
index 7b7f55388b72cf1c50ccb9a67232a431728b0e29..9cd15db6ca58f344a9dfdf6ffa67f7a4e12cac55 100644 (file)
--- a/src/res.c
+++ b/src/res.c
@@ -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)