From fe8f84d5da0376ddb4518973c155b04e18a586f3 Mon Sep 17 00:00:00 2001 From: Jakob Schlanstedt Date: Sun, 31 Dec 2023 15:31:27 +0100 Subject: [PATCH] refactor: remove dead code --- include/utils/coreUtils.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/utils/coreUtils.h b/include/utils/coreUtils.h index dfc4e84f..ba584910 100644 --- a/include/utils/coreUtils.h +++ b/include/utils/coreUtils.h @@ -21,9 +21,6 @@ typedef GPtrArray GPtrArray2D; /* macros */ //NOLINTNEXTLINE #define LENGTH(X) (sizeof X / sizeof X[0]) -#define END(A) ((A) + LENGTH(A)) -/* number of chars a string should contain */ -#define ARR_STRING_LENGTH(X) strlen(X) + 2*(strlen("[]") + NUM_DIGITS) // those constants are arbitrary and are bound to change #define MAXLEN 15