aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--dfa.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c25bab82..47318431 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,8 @@
* builtin.c (do_strftime): Add check for negative / overflowed
time_t value with fatal error. Thanks to Hermann Peifer
<peifer@gmx.eu> for the bug report.
+ * dfa.c (setbit_wc): Non-MBS version. Add a return false
+ since VMS compiler doesn't understand that abort doesn't return.
2011-10-10 Arnold D. Robbins <arnold@skeeve.com>
diff --git a/dfa.c b/dfa.c
index 19bbaa31..a909f68f 100644
--- a/dfa.c
+++ b/dfa.c
@@ -616,7 +616,12 @@ setbit_c (int b, charclass c)
}
#else
# define setbit_c setbit
-static inline bool setbit_wc (wint_t wc, charclass c) { abort (); }
+static inline bool setbit_wc (wint_t wc, charclass c)
+{
+ abort ();
+ /*NOTREACHED*/
+ return false;
+}
#endif
/* Like setbit_c, but if case is folded, set both cases of a letter. For