gbranden pushed a commit to branch master
in repository groff.
commit f8a168f9af35d60e1455f95d6b8fa7f42dd90b47
Author: G. Branden Robinson <[email protected]>
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 <[email protected]>
+
+ * 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 <[email protected]>
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 */)) {
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit