mirror of
https://github.com/mirror/wget.git
synced 2025-02-07 18:20:14 +08:00
* src/spider.c (spider_cleanup): Only compile for DEBUG_MALLOC or TESTING
This commit is contained in:
parent
765271fdf5
commit
4588045b28
@ -45,12 +45,14 @@ static struct hash_table *nonexisting_urls_set;
|
|||||||
|
|
||||||
/* Cleanup the data structures associated with this file. */
|
/* Cleanup the data structures associated with this file. */
|
||||||
|
|
||||||
|
#if defined DEBUG_MALLOC || defined TESTING
|
||||||
void
|
void
|
||||||
spider_cleanup (void)
|
spider_cleanup (void)
|
||||||
{
|
{
|
||||||
if (nonexisting_urls_set)
|
if (nonexisting_urls_set)
|
||||||
string_set_free (nonexisting_urls_set);
|
string_set_free (nonexisting_urls_set);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Remembers broken links. */
|
/* Remembers broken links. */
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user