Remove unused variable

This commit is contained in:
Rene Kita
2021-09-02 11:53:15 +02:00
parent dad5cbe83b
commit 916104b7f2
7 changed files with 8 additions and 22 deletions

View File

@@ -551,13 +551,12 @@ loadImage(Buffer *buf, int flag)
}
#else /* !DONT_CALL_GC_AFTER_FORK */
if ((cache->pid = fork()) == 0) {
Buffer *b;
/*
* setup_child(TRUE, 0, -1);
*/
setup_child(FALSE, 0, -1);
image_source = cache->file;
b = loadGeneralFile(cache->url, cache->current, NULL, 0, NULL);
loadGeneralFile(cache->url, cache->current, NULL, 0, NULL);
/* TODO make sure removing this didn't break anything
if (!b || !b->real_type || strncasecmp(b->real_type, "image/", 6))
unlink(cache->file);