summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/image.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/image.c b/src/image.c
index eacea4a1d97..ebb73e3996e 100644
--- a/src/image.c
+++ b/src/image.c
@@ -3910,9 +3910,6 @@ xpm_load (f, img)
attrs.valuemask |= XpmCloseness;
#endif /* not XpmAllocCloseColors */
#endif /* ALLOC_XPM_COLORS */
-#ifdef ALLOC_XPM_COLORS
- xpm_init_color_cache (f, &attrs);
-#endif
/* If image specification contains symbolic color definitions, add
these to `attrs'. */