pike.git / src / modules / Image / encodings / xcf.c

version» Context lines:

pike.git/src/modules/Image/encodings/xcf.c:1:   #include "global.h" - RCSID("$Id: xcf.c,v 1.31 2000/10/20 09:08:38 grubba Exp $"); + RCSID("$Id: xcf.c,v 1.32 2000/10/25 14:20:46 grubba Exp $");      #include "image_machine.h"      #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "module_support.h"   #include "interpret.h"   #include "object.h"   #include "svalue.h"
pike.git/src/modules/Image/encodings/xcf.c:1179:      void image_xcf_f__decode_tiles( INT32 args )   {    struct object *io,*ao, *cmapo;    struct array *tiles;    struct image *i=NULL, *a=NULL;    struct neo_colortable *cmap = NULL;    int rxs, rys;    rgb_group *colortable=NULL;    rgb_group pix = {0,0,0}; -  rgb_group apix= {255,255,255}; // avoid may use uninitialized warnings +  rgb_group apix= {255,255,255}; /* avoid may use uninitialized warnings */       INT_TYPE rle, bpp, span, shrink;    unsigned int l, x=0, y=0, cx, cy;    get_all_args( "_decode_tiles", args, "%o%O%a%i%i%O%d%d%d",    &io, &ao, &tiles, &rle, &bpp, &cmapo, &shrink, &rxs, &rys);          if( !(i = (struct image *)get_storage( io, image_program )))    error("Wrong type object argument 1 (image)\n");