gbranden pushed a commit to branch master
in repository groff.

commit 87b9e41f87f9184cfce2e9bd1d7b2f8e7107c0d4
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Nov 4 07:47:41 2025 -0600

    [grolbp]: Eliminate dead store.
    
    src/devices/grolbp/lbp.cpp (main): Do it.
---
 ChangeLog                  | 4 ++++
 src/devices/grolbp/lbp.cpp | 3 +--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index edc573c87..591a22bff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2025-11-04  G. Branden Robinson <[email protected]>
+
+       * src/devices/grolbp/lbp.cpp (main): Eliminate dead store.
+
 2025-11-04  G. Branden Robinson <[email protected]>
 
        [eqn, groff, grotty, hpftodit, indxbib, lkbib, lookbib, pic,
diff --git a/src/devices/grolbp/lbp.cpp b/src/devices/grolbp/lbp.cpp
index 44783da4e..da2f0f781 100644
--- a/src/devices/grolbp/lbp.cpp
+++ b/src/devices/grolbp/lbp.cpp
@@ -668,9 +668,8 @@ int main(int argc, char **argv)
   font::set_unknown_desc_command_handler(handle_unknown_desc_command);
   // command line parsing
   int c;
-  int option_index = 0;
   while ((c = getopt_long(argc, argv, ":c:F:hI:lo:p:vw:", long_options,
-                         &option_index))
+                         0 /* nullptr */))
         != EOF) {
     switch (c) {
     case 'F':

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

Reply via email to