Remove unused variable
This commit is contained in:
3
image.c
3
image.c
@@ -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);
|
||||
|
Reference in New Issue
Block a user