pike.git / src / modules / Image / colors.c

version» Context lines:

pike.git/src/modules/Image/colors.c:347:    int n,    struct neo_colortable *nct,    struct nct_dither *dith,    int rowlen);      static void try_find_name(struct color_struct *this)   {    rgb_group d;    static struct nct_dither dith = {    NCTD_NONE,NULL,NULL,NULL,NULL,-1, - #ifdef HAVE_UNION_INIT +     {{NULL,NULL,0.0,0.0,0.0,0.0,0,0}}, /* Only to avoid warnings. */ - #endif +     };       if (!colors)    make_colors();       if (this->name)    Pike_fatal("try_find_name called twice\n");       if (this->rgbl.r!=COLOR_TO_COLORL(this->rgb.r) ||    this->rgbl.g!=COLOR_TO_COLORL(this->rgb.g) ||