From 363c45b8cdc1704a543cd6ca544162176cd7ad84 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Thu, 17 Dec 2020 16:36:35 -0500 Subject: [PATCH] bees: make it build with clang Remove unused "addr check" functions. We have ranged_cast for detecting overflow bits. Signed-off-by: Zygo Blaxell --- src/bees.cc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/bees.cc b/src/bees.cc index 1e245a3..f6eae48 100644 --- a/src/bees.cc +++ b/src/bees.cc @@ -204,20 +204,6 @@ BeesNote::get_status() // static inline helpers ---------------------------------------- -static inline -bool -bees_addr_check(uint64_t v) -{ - return !(v & (1ULL << 63)); -} - -static inline -bool -bees_addr_check(int64_t v) -{ - return !(v & (1ULL << 63)); -} - string pretty(double d) {