[PATCH] Amend fallback comment to work with newer gcc
Siddhesh Poyarekar
siddhesh@gotplt.org
Mon Jan 27 07:26:00 GMT 2020
Newer gcc does not recognize the fallthrough comment due to the text
following the fallthrough keyword. The "see above" doesn't seem too
valuable, so this patch drops it to fix the build.
---
runtime/unwind/unwind.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/unwind/unwind.h b/runtime/unwind/unwind.h
index e5a5921ed..7fbe7cc61 100644
--- a/runtime/unwind/unwind.h
+++ b/runtime/unwind/unwind.h
@@ -160,7 +160,7 @@ static unsigned long read_ptr_sect(const u8 **pLoc, const void *end,
#else
BUILD_BUG_ON(sizeof(u32) != sizeof(value));
#endif
- /* fallthrough, see above. */
+ /* fallthrough */
case DW_EH_PE_absptr:
if (compat_task)
{
--
2.24.1
More information about the Systemtap
mailing list