gegl r2589 - in trunk: . gegl/buffer



Author: ok
Date: Thu Oct  2 23:22:20 2008
New Revision: 2589
URL: http://svn.gnome.org/viewvc/gegl?rev=2589&view=rev

Log:
* gegl/buffer/gegl-sampler-cubic.c: (gegl_sampler_cubic_get):
Removed redundant clearing of newval, spotted by Nicolas Robidoux
(bug #540540).


Modified:
   trunk/ChangeLog
   trunk/gegl/buffer/gegl-sampler-cubic.c

Modified: trunk/gegl/buffer/gegl-sampler-cubic.c
==============================================================================
--- trunk/gegl/buffer/gegl-sampler-cubic.c	(original)
+++ trunk/gegl/buffer/gegl-sampler-cubic.c	Thu Oct  2 23:22:20 2008
@@ -144,7 +144,6 @@
   context_rect = self->context_rect;
   dx = (gint) x;
   dy = (gint) y;
-  newval[0] = newval[1] = newval[2] = newval[3] = 0.;
   sampler_bptr = gegl_sampler_get_ptr (self, dx, dy);
 
 #ifdef HAS_G4FLOAT



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]