]> Savannah Git Hosting - gnulib.git/commitdiff
* lib/xmalloc.c (nonnull): Pacify gcc -Wsuggest-attribute=pure (GCC 10.3).
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 12 Jun 2021 00:37:32 +0000 (17:37 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 12 Jun 2021 00:38:36 +0000 (17:38 -0700)
lib/xmalloc.c

index 413ee1b3c4f2d5dffd6aa0911dc000eed3c6d334..81bb427d3355ac801d698ba7582e5b6eb7b9f2f6 100644 (file)
@@ -28,7 +28,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-static void *
+static void * _GL_ATTRIBUTE_PURE
 nonnull (void *p)
 {
   if (!p)