sed: mark function as attribute(malloc)

Suggested by gcc-8.2.0.

* sed/compile.c (read_label): Mark as _GL_ATTRIBUTE_MALLOC.
This commit is contained in:
Assaf Gordon committed 2018-08-08 14:14:51 -06:00
1 parent 665f9a9dc1
commit 36e3485e7f
1 file changed
+1 -1
+1 -1
View File
@@ -673,7 +673,7 @@ mark_subst_opts (struct subst *cmd)
}
/* read in a label for a `:', `b', or `t' command */
static char *
static char * _GL_ATTRIBUTE_MALLOC
read_label (void)
{
struct buffer *b;