(xpm_load): Remove spurious call to xpm_init_color_cache.
authorChong Yidong <cyd@stupidchicken.com>
Wed, 6 Jun 2007 18:58:56 +0000 (18:58 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 6 Jun 2007 18:58:56 +0000 (18:58 +0000)
src/image.c

index eacea4a..ebb73e3 100644 (file)
@@ -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'.  */