]> Savannah Git Hosting - gnulib.git/commitdiff
dfa: fix 'return' typo
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Jan 2017 20:49:39 +0000 (12:49 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Jan 2017 20:49:57 +0000 (12:49 -0800)
Problem reported by Nelson H. F. Beebe.
* lib/dfa.c (merge): Fix typo that Sun compilers rejected.

ChangeLog
lib/dfa.c

index ebd491f846e32526a564b30461a2aa69e4f38409..d3dad042a741f9d25babe9e5470d4707341c14ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-01-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       dfa: fix 'return' typo
+       Problem reported by Nelson H. F. Beebe.
+       * lib/dfa.c (merge): Fix typo that Sun compilers rejected.
+
 2017-01-05  Pádraig Brady  <P@draigBrady.com>
 
        parse-datetime: fix generated paths for coverage files
index 4f656657b75efd0b352068a2ac1302d4f0a8618f..8276db160a4bbc5fb77bed283a098ad9bc2a78d4 100644 (file)
--- a/lib/dfa.c
+++ b/lib/dfa.c
@@ -2086,7 +2086,7 @@ merge_constrained (position_set const *s1, position_set const *s2,
 static void
 merge (position_set const *s1, position_set const *s2, position_set *m)
 {
-  return merge_constrained (s1, s2, -1, m);
+  merge_constrained (s1, s2, -1, m);
 }
 
 /* Delete a position from a set.  Return the nonzero constraint of the