mirror of https://github.com/GNOME/gimp.git
added some variable initializations.
segfaults appear less spurious now. -timj
This commit is contained in:
parent
731f5219a3
commit
8fd700c869
|
@ -1753,7 +1753,6 @@ calculate_edge_map (GImage *gimage,
|
|||
double prev, next;
|
||||
GimpDrawable *drawable;
|
||||
void *pr;
|
||||
FILE *dump;
|
||||
|
||||
drawable = gimage_active_drawable (gimage);
|
||||
|
||||
|
@ -2398,7 +2397,7 @@ make_curve_d (int *curve,
|
|||
/* Functions for Catmull-Rom area conversion */
|
||||
/***********************************************/
|
||||
|
||||
static GSList ** CR_scanlines;
|
||||
static GSList ** CR_scanlines = NULL;
|
||||
static int start_convert;
|
||||
static int width, height;
|
||||
static int lastx;
|
||||
|
@ -2514,6 +2513,7 @@ CR_convert (Iscissors *iscissors,
|
|||
}
|
||||
|
||||
g_slist_free (CR_scanlines[i]);
|
||||
CR_scanlines[i] = NULL;
|
||||
}
|
||||
|
||||
if (antialias)
|
||||
|
|
|
@ -1753,7 +1753,6 @@ calculate_edge_map (GImage *gimage,
|
|||
double prev, next;
|
||||
GimpDrawable *drawable;
|
||||
void *pr;
|
||||
FILE *dump;
|
||||
|
||||
drawable = gimage_active_drawable (gimage);
|
||||
|
||||
|
@ -2398,7 +2397,7 @@ make_curve_d (int *curve,
|
|||
/* Functions for Catmull-Rom area conversion */
|
||||
/***********************************************/
|
||||
|
||||
static GSList ** CR_scanlines;
|
||||
static GSList ** CR_scanlines = NULL;
|
||||
static int start_convert;
|
||||
static int width, height;
|
||||
static int lastx;
|
||||
|
@ -2514,6 +2513,7 @@ CR_convert (Iscissors *iscissors,
|
|||
}
|
||||
|
||||
g_slist_free (CR_scanlines[i]);
|
||||
CR_scanlines[i] = NULL;
|
||||
}
|
||||
|
||||
if (antialias)
|
||||
|
|
|
@ -1753,7 +1753,6 @@ calculate_edge_map (GImage *gimage,
|
|||
double prev, next;
|
||||
GimpDrawable *drawable;
|
||||
void *pr;
|
||||
FILE *dump;
|
||||
|
||||
drawable = gimage_active_drawable (gimage);
|
||||
|
||||
|
@ -2398,7 +2397,7 @@ make_curve_d (int *curve,
|
|||
/* Functions for Catmull-Rom area conversion */
|
||||
/***********************************************/
|
||||
|
||||
static GSList ** CR_scanlines;
|
||||
static GSList ** CR_scanlines = NULL;
|
||||
static int start_convert;
|
||||
static int width, height;
|
||||
static int lastx;
|
||||
|
@ -2514,6 +2513,7 @@ CR_convert (Iscissors *iscissors,
|
|||
}
|
||||
|
||||
g_slist_free (CR_scanlines[i]);
|
||||
CR_scanlines[i] = NULL;
|
||||
}
|
||||
|
||||
if (antialias)
|
||||
|
|
Loading…
Reference in New Issue