gbranden pushed a commit to branch master
in repository groff.

commit f43edee2c8baba9a7ec2a3c7ca996c70197a3221
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 22 17:46:24 2026 -0600

    [troff]: Fix code style nit.
    
    * src/roff/troff/node.cpp (print_font_translation_request): Drop
      explicit return from end of function returning `void`.
---
 ChangeLog               | 6 ++++++
 src/roff/troff/node.cpp | 1 -
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index e3c168c7d..4996ba6a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2026-11-22  G. Branden Robinson <[email protected]>
+
+       * src/roff/troff/node.cpp (print_font_translation_request): Fix
+       code style nit.  Drop explicit return from end of function
+       returning `void`.
+
 2026-11-22  G. Branden Robinson <[email protected]>
 
        * src/preproc/pic/lex.cpp (get_token, get_thru_arg): Fix code
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index 9650e9588..92f1d36e9 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -6873,7 +6873,6 @@ static void print_font_translation_request() // .pftr
     errprint("%1\t%2\n", from.contents(), to.contents());
   fflush(stderr);
   skip_line();
-  return;
 }
 
 static void mount_font_at_position_request() // .fp

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to