From a7041bb3099dcd40ec67d598dc0fa3eecf2e63d3 Mon Sep 17 00:00:00 2001 From: Bogdan Buzea Date: Sat, 23 Nov 2024 15:28:13 +0100 Subject: [PATCH] tdf#152299 - Remove unused define(s) from C/C++ files Change-Id: Id7b5e1675963fd4b65974f4da39dbdccd45af549 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177143 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sal/rtl/alloc_impl.hxx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sal/rtl/alloc_impl.hxx b/sal/rtl/alloc_impl.hxx index 398597c483d7..eefee462f1b5 100644 --- a/sal/rtl/alloc_impl.hxx +++ b/sal/rtl/alloc_impl.hxx @@ -36,11 +36,6 @@ #define RTL_MEMORY_ALIGNMENT_8 sizeof(void*) #endif /* SAL_TYPES_ALIGNMENT8 */ -#if 0 /* @@@ */ -#define RTL_MEMORY_ALIGNMENT_1 8 -#define RTL_MEMORY_ALIGNMENT_2 (sizeof(void*) * 2) -#endif /* @@@ */ - #define RTL_MEMORY_ALIGN(value, align) (((value) + ((align) - 1)) & ~((align) - 1)) #define RTL_MEMORY_ISP2(value) (((value) & ((value) - 1)) == 0) @@ -208,11 +203,6 @@ typedef CRITICAL_SECTION rtl_memory_lock_type; #error Unknown platform #endif /* SAL_UNX | _WIN32 */ -/** Cache creation flags. - @internal -*/ -#define RTL_CACHE_FLAG_NOMAGAZINE (1 << 13) /* w/o magazine layer */ - #endif // INCLUDED_SAL_RTL_ALLOC_IMPL_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */