Branch: Tag:

2000-08-15

2000-08-15 13:12:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/modules/Image/blit.c:1.47
Rev: src/modules/Image/colors.c:1.39
Rev: src/modules/Image/colortable.c:1.93
Rev: src/modules/Image/encodings/gif.c:1.58
Rev: src/modules/Image/encodings/png.c:1.38
Rev: src/modules/Image/encodings/pnm.c:1.23
Rev: src/modules/Image/encodings/tim.c:1.9
Rev: src/modules/Image/encodings/x.c:1.32
Rev: src/modules/Image/image.c:1.175
Rev: src/modules/Image/layers.c:1.55
Rev: src/modules/Image/match.h:1.10
Rev: src/modules/Image/operator.c:1.33
Rev: src/modules/Image/poly.c:1.7
Rev: src/modules/Parser/html.c:1.112
Rev: src/modules/_Charset/charsetmod.c:1.24
Rev: src/modules/_Charset/iso2022.c:1.19
Rev: src/modules/_Crypto/pipe.c:1.18
Rev: src/modules/_Image_JPEG/image_jpeg.c:1.34
Rev: src/modules/_Image_TTF/image_ttf.c:1.34
Rev: src/modules/_Image_XFace/image_xface.c:1.10
Rev: src/modules/files/file.c:1.186
Rev: src/modules/spider/spider.c:1.99
Rev: src/program_areas.h:1.7

1: - /* $Id: blit.c,v 1.46 2000/08/11 18:46:35 grubba Exp $ */ + /* $Id: blit.c,v 1.47 2000/08/15 12:40:57 grubba Exp $ */   #include "global.h"      /*   **! module Image   **! note - **! $Id: blit.c,v 1.46 2000/08/11 18:46:35 grubba Exp $ + **! $Id: blit.c,v 1.47 2000/08/15 12:40:57 grubba Exp $   **! class Image   */   
372:      void image_paste_alpha(INT32 args)   { -  struct image *img; +  struct image *img = NULL;    INT32 x1,y1;       if (args<2
457:      void image_paste_mask(INT32 args)   { -  struct image *img,*mask; +  struct image *img = NULL, *mask = NULL;    INT32 x1,y1,x,y,x2,y2,smod,dmod,mmod;    rgb_group *s,*d,*m;    double q;
562:      void image_paste_alpha_color(INT32 args)   { -  struct image *mask; +  struct image *mask = NULL;    INT32 x1,y1,x,y,x2,y2;    rgb_group rgb,*d,*m;    INT32 mmod,dmod;