summaryrefslogtreecommitdiff
path: root/src/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/regex.c b/src/regex.c
index a4e6441cce3..85e63feea10 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -212,7 +212,7 @@
/* When used in Emacs's lib-src, we need xmalloc and xrealloc. */
-static void *
+static ATTRIBUTE_MALLOC void *
xmalloc (size_t size)
{
void *val = malloc (size);
@@ -4033,8 +4033,7 @@ analyze_first (re_char *p, re_char *pend, char *fastmap,
};
/* Keep `p1' to allow the `on_failure_jump' we are jumping to
to jump back to "just after here". */
- /* Fallthrough */
-
+ FALLTHROUGH;
case on_failure_jump:
case on_failure_keep_string_jump:
case on_failure_jump_nastyloop: