[gegl] lohalo: lint removal



commit e35f013c6706cc7cce4904b48e3ae8a29c230209
Author: Nicolas Robidoux <nrobidoux git gnome org>
Date:   Mon Dec 31 15:56:08 2012 -0500

    lohalo: lint removal

 gegl/buffer/gegl-sampler-lohalo.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index fa03a59..8e85417 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -127,23 +127,12 @@
 
 #include "gegl-sampler-lohalo.h"
 
-#define LOHALO_MINMOD(_a_,_b_,_a_times_a_,_a_times_b_) \
-  (                                                    \
-    (_a_times_b_) >= (gfloat) 0.                       \
-    ?                                                  \
-    ( (_a_times_a_) <= (_a_times_b_) ? (_a_) : (_b_) ) \
-    :                                                  \
-    (gfloat) 0.                                        \
-  )
-
 /*
  * Macros set up so the likely winner in in the first argument
  * (forward branch likely etc):
  */
 #define LOHALO_MIN(_x_,_y_) ( (_x_) <= (_y_) ? (_x_) : (_y_) )
 #define LOHALO_MAX(_x_,_y_) ( (_x_) >= (_y_) ? (_x_) : (_y_) )
-#define LOHALO_ABS(_x_)  ( (_x_) >= (gfloat) 0. ? (_x_) : -(_x_) )
-#define LOHALO_SIGN(_x_) ( (_x_) >= (gfloat) 0. ? (gfloat) 1. : (gfloat) -1. )
 
 /*
  * Special case of Knuth's floored division, that is:



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