From 17d8759011a6d917cf180aa9b86f4772eaf28020 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 bdabec1..4e17130 100644 --- a/src/bees.cc +++ b/src/bees.cc @@ -221,20 +221,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) {