diff options
author | Arnold Robbins <arnold@skeeve.com> | 2011-11-29 18:58:18 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-11-29 18:58:18 +0100 |
commit | 3054c6850e0d3d1578f5e87c23e595ed528fbf6e (patch) | |
tree | 8158f1c7c9618064dd885b002a37169dda8501d7 | |
parent | 5f2a03af5258eabb1263e58229fd4d1f395ca14a (diff) | |
download | grep-3054c6850e0d3d1578f5e87c23e595ed528fbf6e.tar.gz |
dfa: avoid warning from deficient compiler in !MBS_SUPPORT mode
* src/dfa.c (setbit_wc) [!MBS_SUPPORT]: Add explicit "return false;"
after "abort ();", to avoid a warning from deficient compilers.
-rw-r--r-- | src/dfa.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -585,7 +585,13 @@ 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 |