summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2019-01-31 13:49:18 -0800
committerBehdad Esfahbod <behdad@behdad.org>2019-01-31 13:57:17 -0800
commit21ea1c91529471c05e03b6db61df256f24fa23c1 (patch)
tree23ac111a95ae62c91d04587b5cd9cacf1e87b476
parentd14d2c20b05c5acf0a6f9c6dc36a7b8d8966153e (diff)
downloadharfbuzz-21ea1c91529471c05e03b6db61df256f24fa23c1.tar.gz
Remove stale comment
-rw-r--r--src/hb-dsalgs.hh5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/hb-dsalgs.hh b/src/hb-dsalgs.hh
index cb3057c5..6ccba158 100644
--- a/src/hb-dsalgs.hh
+++ b/src/hb-dsalgs.hh
@@ -321,11 +321,6 @@ template <> struct hb_is_signed<__int8> { enum { value = true }; };
template <typename T> static inline bool
hb_in_range (T u, T lo, T hi)
{
- /* The sizeof() is here to force template instantiation.
- * I'm sure there are better ways to do this but can't think of
- * one right now. Declaring a variable won't work as HB_UNUSED
- * is unusable on some platforms and unused types are less likely
- * to generate a warning than unused variables. */
static_assert (!hb_is_signed<T>::value, "");
/* The casts below are important as if T is smaller than int,