From d45dee9add229d64ca875c11c78392e1a80dc100 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 18 Oct 2011 12:35:02 +0200 Subject: Another non-MBS fix in dfa.c. --- ChangeLog | 2 ++ dfa.c | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 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 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 -- cgit v1.2.3