diff --git a/src/modules/Image/colortable.c b/src/modules/Image/colortable.c index 5a5fa075009c17b0284bfc5c4aba771e0729a88f..3f86379d2457f40ac6c36a3421f2cf9ea860cab6 100644 --- a/src/modules/Image/colortable.c +++ b/src/modules/Image/colortable.c @@ -1,12 +1,12 @@ #include "global.h" #include <config.h> -/* $Id: colortable.c,v 1.50 1999/03/19 11:11:36 hubbe Exp $ */ +/* $Id: colortable.c,v 1.51 1999/03/19 18:21:47 mirar Exp $ */ /* **! module Image **! note -**! $Id: colortable.c,v 1.50 1999/03/19 11:11:36 hubbe Exp $ +**! $Id: colortable.c,v 1.51 1999/03/19 18:21:47 mirar Exp $ **! class colortable **! **! This object keeps colortable information, @@ -21,7 +21,7 @@ #undef COLORTABLE_DEBUG #undef COLORTABLE_REDUCE_DEBUG -RCSID("$Id: colortable.c,v 1.50 1999/03/19 11:11:36 hubbe Exp $"); +RCSID("$Id: colortable.c,v 1.51 1999/03/19 18:21:47 mirar Exp $"); #include <math.h> /* fabs() */ @@ -2233,7 +2233,7 @@ void image_colortable_reduce(INT32 args) void image_colortable_operator_plus(INT32 args) { struct object *o,*tmpo=NULL; - struct neo_colortable *dest,*src; + struct neo_colortable *dest,*src=NULL; int i; @@ -2285,7 +2285,7 @@ void image_colortable_operator_plus(INT32 args) void image_colortable_operator_minus(INT32 args) { struct object *o; - struct neo_colortable *dest,*src; + struct neo_colortable *dest,*src=NULL; int i; diff --git a/src/modules/Image/operator.c b/src/modules/Image/operator.c index 9db9770465b6ecbc870ade65bd022e49176b556a..dde1959c92131818c29b3b47e6ffb871acda8f74 100644 --- a/src/modules/Image/operator.c +++ b/src/modules/Image/operator.c @@ -1,9 +1,9 @@ -/* $Id: operator.c,v 1.18 1998/05/07 18:42:15 mirar Exp $ */ +/* $Id: operator.c,v 1.19 1999/03/19 18:21:49 mirar Exp $ */ /* **! module Image **! note -**! $Id: operator.c,v 1.18 1998/05/07 18:42:15 mirar Exp $ +**! $Id: operator.c,v 1.19 1999/03/19 18:21:49 mirar Exp $ **! class image */ @@ -39,7 +39,7 @@ extern struct program *image_program; #define STANDARD_OPERATOR_HEADER(what) \ struct object *o; \ - struct image *img,*oper; \ + struct image *img,*oper=NULL; \ rgb_group *s1,*s2,*d; \ rgbl_group rgb; \ INT32 i; \