gbranden pushed a commit to branch master
in repository groff.

commit 0e965639dbb93ec4f6fe9613b0c0f3d866bda918
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Sep 26 22:33:30 2024 -0500

    [troff]: Drop copy-and-wasted line.
    
    * src/roff/troff/input.cpp (close_all_streams): Drop copy-and-wasted
      line.  Harmless but pointless (we're no longer reading input when this
      function is called).
---
 ChangeLog                | 6 ++++++
 src/roff/troff/input.cpp | 1 -
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 494b25330..4d89e8d4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-09-26  G. Branden Robinson <[email protected]>
+
+       * src/roff/troff/input.cpp (close_all_streams): Drop
+       copy-and-wasted line.  Harmless but pointless (we're no
+       longer reading input when this function is called).
+
 2024-09-26  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/input.cpp (pipe_output): Shorten diagnostics.
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 243a7fa82..98f973fa0 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -7476,7 +7476,6 @@ static void close_all_streams()
       close_stream(stream);
     }
   }
-  skip_line();
 }
 
 static void close_request() // .close

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

Reply via email to