gbranden pushed a commit to branch master
in repository groff.

commit bb21bd752613bd5a077225e01282ca05f2d6a07c
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 15 17:29:01 2026 -0600

    src/include/searchpath.h: Fix code style nit.
    
    * src/include/searchpath.h (class search_path): Comment formal argument
      names in function declarations, when multiple arguments use the same
      type, as a compromise with the Stroustrup-style C++ used in most of
      groff.
---
 ChangeLog                | 7 +++++++
 src/include/searchpath.h | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 2b5e90190..1b8d4f167 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2026-11-15  G. Branden Robinson <[email protected]>
+
+       * src/include/searchpath.h (class search_path): Fix code style
+       nit.  Comment formal argument names in function declarations,
+       when multiple arguments use the same type, as a compromise with
+       the Stroustrup-style C++ used in most of groff.
+
 2026-11-15  G. Branden Robinson <[email protected]>
 
        Drop unreachable code and invariant function parameters.
diff --git a/src/include/searchpath.h b/src/include/searchpath.h
index b4685c8d5..427067196 100644
--- a/src/include/searchpath.h
+++ b/src/include/searchpath.h
@@ -22,7 +22,7 @@ class search_path {
   unsigned init_len; // TODO: size_t
 public:
   // TODO: Boolify 3rd argument.
-  search_path(const char *envvar, const char *standard,
+  search_path(const char * /* envvar */, const char * /* standard */,
              int add_current);
   ~search_path();
   const char* contents() const;

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

Reply via email to