diff options
author | Øyvind Kolås <pippin@gimp.org> | 2015-09-16 21:09:37 +0200 |
---|---|---|
committer | Øyvind Kolås <pippin@gimp.org> | 2015-09-16 21:09:39 +0200 |
commit | f933589409735654608752fa2a1917891ee540e0 (patch) | |
tree | 9b4f29a3598badc4eea200d98e33eb3ea71d4eed | |
parent | 5edb860434a87ffbee208a8e7d5636a9dc359d63 (diff) |
mosaic: remove unused variable/allocation "data"
as noticed by cppcheck/serval2412@yahoo.fr in bug #754955
-rw-r--r-- | operations/common/mosaic.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/operations/common/mosaic.c b/operations/common/mosaic.c index d60d3a2b..f2ca89c3 100644 --- a/operations/common/mosaic.c +++ b/operations/common/mosaic.c @@ -537,7 +537,6 @@ gaussian_deriv (gfloat *src_rgn, { gfloat *dp; gfloat *sp, *s; - gfloat *data; gfloat *buf, *b; gint chan; gint i, row, col; @@ -554,7 +553,6 @@ gaussian_deriv (gfloat *src_rgn, /* allocate buffers for rows/cols */ length = MAX (result->width, result->height) * NB_CPN; - data = g_new (gfloat, length * 2); length = 3; @@ -723,7 +721,6 @@ gaussian_deriv (gfloat *src_rgn, } g_free (buf); - g_free (data); } /* |