We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2329002 commit 993e283Copy full SHA for 993e283
apache2/acmp.c
@@ -251,20 +251,6 @@ static void acmp_add_node_to_parent(acmp_node_t *parent, acmp_node_t *child) {
251
}
252
253
254
-#if 0
255
-/**
256
- * Copies values from one node to another, without child/sibling/fail pointers
257
- * and without state variables.
258
- */
259
-static void acmp_clone_node_no_state(acmp_node_t *from, acmp_node_t *to) {
260
- memcpy(to, from, sizeof(acmp_node_t));
261
- to->child = NULL;
262
- to->sibling = NULL;
263
- to->fail = NULL;
264
- to->hit_count = 0;
265
-}
266
-#endif
267
-
268
static inline acmp_node_t *acmp_btree_find(acmp_node_t *node, acmp_utf8_char_t letter) {
269
acmp_btree_node_t *bnode = node->btree;
270
for (;;) {
0 commit comments