[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tiny main/utils.c fixes
From: |
Alfred M. Szmidt |
Subject: |
tiny main/utils.c fixes |
Date: |
Wed, 29 May 2024 14:23:59 -0400 |
Tiny patch; some older or newer compilers (I forgot which) will
complain if there is no compound statment after a label.
2024-05-29 Alfred M. Szmidt <ams@gnu.org>
* tp/Texinfo/XS/main/utils.c (clear_option, free_option)
(initialize_option): Add a no-op compund statment to mitigate
errors from GCC.
diff --git a/tp/Texinfo/XS/main/utils.c b/tp/Texinfo/XS/main/utils.c
index 6d209b699c..b90549afab 100644
--- a/tp/Texinfo/XS/main/utils.c
+++ b/tp/Texinfo/XS/main/utils.c
@@ -1610,6 +1610,7 @@ clear_option (OPTION *option)
option->integer = -1;
default:
+ break;
}
}
@@ -1641,6 +1642,7 @@ free_option (OPTION *option)
case GOT_integer:
default:
+ break;
}
}
@@ -1676,6 +1678,7 @@ initialize_option (OPTION *option, enum
global_option_type type)
break;
default:
+ break;
}
}
- tiny main/utils.c fixes,
Alfred M. Szmidt <=