summaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-04-03 21:57:26 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-03 21:57:26 +0100
commit15f74fab653a784548d5d966644926b47ba2cfa7 (patch)
tree9b5f7c61dce3d1668d65ee5e93e39b7dd281f950 /src/alloc.c
parent242c152c08edbfaf17e8ae0b5d82841beabfa21a (diff)
patch 8.2.4681: build fails with a combination of featuresv8.2.4681
Problem: Build fails with a combination of features. Solution: Remove #ifdef for alloc_clear_id(). (John Marriott)
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index e6e2633d21..9547d67192 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -180,7 +180,6 @@ alloc_clear(size_t size)
return p;
}
-#if defined(FEAT_SIGNS) || defined(PROTO)
/*
* Same as alloc_clear() but with allocation id for testing
*/
@@ -193,7 +192,6 @@ alloc_clear_id(size_t size, alloc_id_T id UNUSED)
#endif
return alloc_clear(size);
}
-#endif
/*
* Allocate memory like lalloc() and set all bytes to zero.