app: move variable to local scope

This commit is contained in:
Michael Natterer
2012-03-17 18:20:24 +01:00
parent 684f7f167b
commit c22b6a2884

View File

@ -573,7 +573,6 @@ gradient_precalc_shapeburst (GimpImage *image,
gfloat *distp; gfloat *distp;
gint size; gint size;
gpointer pr; gpointer pr;
guchar white[1] = { OPAQUE_OPACITY };
/* allocate the distance map */ /* allocate the distance map */
distR.tiles = tile_manager_new (PR->w, PR->h, sizeof (gfloat)); distR.tiles = tile_manager_new (PR->w, PR->h, sizeof (gfloat));
@ -614,6 +613,8 @@ gradient_precalc_shapeburst (GimpImage *image,
} }
else else
{ {
guchar white[1] = { OPAQUE_OPACITY };
/* Otherwise, just fill the shapeburst to white */ /* Otherwise, just fill the shapeburst to white */
color_region (&tempR, white); color_region (&tempR, white);
} }