From 6001d8905e1f7af36b06c5ee10e187a832fb3c90 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Fri, 21 Aug 2015 10:31:13 +0100 Subject: remove unused SAME_PIXEL macro Signed-off-by: Frediano Ziglio --- server/red_bitmap_utils.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/red_bitmap_utils.h b/server/red_bitmap_utils.h index 6d508a7c..1c13ced0 100644 --- a/server/red_bitmap_utils.h +++ b/server/red_bitmap_utils.h @@ -52,8 +52,6 @@ #define SAMPLE_JUMP 15 -#define SAME_PIXEL(p1, p2) (GET_r(p1) == GET_r(p2) && GET_g(p1) == GET_g(p2) && \ - GET_b(p1) == GET_b(p2)) static const double FNAME(PIX_PAIR_SCORE)[] = { SAME_PIXEL_WEIGHT, @@ -148,7 +146,6 @@ static void FNAME(compute_lines_gradual_score)(PIXEL *lines, int width, int num_ #undef PIXEL #undef FNAME -#undef SAME_PIXEL #undef GET_r #undef GET_g #undef GET_b -- cgit