]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
factor: fix ‘return’ typo
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 20 Nov 2024 06:22:57 +0000 (22:22 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 20 Nov 2024 06:22:57 +0000 (22:22 -0800)
* src/factor.c (lbuf_putint): Don’t use ‘return E;’ in
a void function’s body, fixing a recently-introduced typo.

src/factor.c

index 70c982292fdfd0cf1f04403162eaa6207a436c5a..85cd1b1c90f42ea06f7185023715081c890cc053 100644 (file)
@@ -2416,7 +2416,7 @@ lbuf_putint_append (uintmax_t i, char *bufend)
 static void
 lbuf_putint (uintmax_t i)
 {
-  return lbuf_putint_append (i, lbuf_buf + sizeof lbuf_buf);
+  lbuf_putint_append (i, lbuf_buf + sizeof lbuf_buf);
 }
 
 /* Append the string representation of T to lbuf_buf.  */