From c01bc28a7897d16e1f92e6c9f2afaf8d09985ac0 Mon Sep 17 00:00:00 2001 From: Karl-Johan Alm Date: Tue, 30 Nov 2021 12:49:05 +0900 Subject: [PATCH] clean-up: remove unused ARRAYLEN() macro --- util/strencodings.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/util/strencodings.h b/util/strencodings.h index 856d6bdf..4fc233df 100644 --- a/util/strencodings.h +++ b/util/strencodings.h @@ -20,8 +20,6 @@ #include #include -#define ARRAYLEN(array) (sizeof(array)/sizeof((array)[0])) - // util/string.h { /** * Check if a string does not contain any embedded NUL (\0) characters