From 797d76d07f80d796a825d850772087104e5a2575 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 18 Apr 2013 19:04:12 -0400 Subject: [PATCH] Minor --- src/hb-ot-layout-common-private.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hb-ot-layout-common-private.hh b/src/hb-ot-layout-common-private.hh index e6018db..d139b56 100644 --- a/src/hb-ot-layout-common-private.hh +++ b/src/hb-ot-layout-common-private.hh @@ -129,8 +129,7 @@ struct RecordListOf : RecordArrayOf struct RangeRecord { inline int cmp (hb_codepoint_t g) const { - hb_codepoint_t a = start, b = end; - return g < a ? -1 : g <= b ? 0 : +1 ; + return g < start ? -1 : g <= end ? 0 : +1 ; } inline bool sanitize (hb_sanitize_context_t *c) { -- 2.7.4