groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 03/20: [troff]: Fix code style nit.


From: G. Branden Robinson
Subject: [groff] 03/20: [troff]: Fix code style nit.
Date: Mon, 21 Oct 2024 20:14:51 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit f8a168f9af35d60e1455f95d6b8fa7f42dd90b47
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Oct 18 15:20:17 2024 -0500

    [troff]: Fix code style nit.
    
    * src/roff/troff/input.c (device_request): Drop declaration of unused
      variable (detritus from an attempt to finish Savannah #63074).
---
 ChangeLog                | 6 ++++++
 src/roff/troff/input.cpp | 1 -
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 975f18d78..d1267a31d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-10-18  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/roff/troff/input.c (device_request): Drop declaration of
+       unused variable (detritus from an attempt to finish Savannah
+       #63074).
+
 2024-10-18  Deri James  <deri@chuzzlewit.myzen.co.uk>
 
        Use new \X''.
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index b5d616ea3..434513d85 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -6001,7 +6001,6 @@ static void device_request()
        // character escape sequence?
        bool is_valid = false;
        string sc = "";
-       string scdup; // for composite character ugliness below
        int c2 = get_copy(0 /* nullptr */);
        for (; (c2 != '\0') && (c2 != '\n') && (c2 != EOF);
             c2 = get_copy(0 /* nullptr */)) {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]