[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/igc 5d21eb8faee: Fix a warning from clang
From: |
Gerd Moellmann |
Subject: |
scratch/igc 5d21eb8faee: Fix a warning from clang |
Date: |
Mon, 1 Jul 2024 15:05:32 -0400 (EDT) |
branch: scratch/igc
commit 5d21eb8faee48899cf7d4f5875d10ac35353d9ef
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>
Fix a warning from clang
---
src/igc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/igc.c b/src/igc.c
index c558f7aa563..267afb4195d 100644
--- a/src/igc.c
+++ b/src/igc.c
@@ -3939,8 +3939,10 @@ make_entry (const char *s, intmax_t n, intmax_t bytes)
return list3 (build_string (s), make_int (n), make_int (bytes));
}
+#ifndef __clang__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsuggest-attribute=noreturn"
+#endif
DEFUN ("igc-info", Figc_info, Sigc_info, 0, 0, 0, doc : /* */)
(void)
@@ -3979,7 +3981,9 @@ DEFUN ("igc-info", Figc_info, Sigc_info, 0, 0, 0, doc :
/* */)
return result;
}
+#ifndef __clang__
#pragma GCC diagnostic pop
+#endif
DEFUN ("igc--roots", Figc__roots, Sigc__roots, 0, 0, 0, doc : /* */)
(void)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- scratch/igc 5d21eb8faee: Fix a warning from clang,
Gerd Moellmann <=