]> sjero.net Git - wget/blobdiff - src/recur.c
If -nc and -k are used at the same time, use only the latter
[wget] / src / recur.c
index 8d769f71721ebfe972173295e2d30ae4c3f8ee76..90af5c64350ed0edadf186ba7d6e6d86e024409a 100644 (file)
@@ -33,9 +33,7 @@ as that of the covered work.  */
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif /* HAVE_UNISTD_H */
+#include <unistd.h>
 #include <errno.h>
 #include <assert.h>
 
@@ -200,7 +198,6 @@ retrieve_tree (struct url *start_url_parsed, struct iri *pi)
      the queue, but haven't been downloaded yet.  */
   struct hash_table *blacklist;
 
-  int up_error_code;
   struct iri *i = iri_new ();
 
 #define COPYSTR(x)  (x) ? xstrdup(x) : NULL;