[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Tue, 26 Dec 2023 10:15:52 -0500 (EST) |
branch: master
commit 80d9abcac610a64910b97b0bf76274498fa5b4ea
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Dec 26 15:10:45 2023 +0000
* tp/Texinfo/Convert/Plaintext.pm (_align_lines):
Remove unused variable.
---
ChangeLog | 5 +++++
tp/Texinfo/Convert/Plaintext.pm | 3 ---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5c718bf380..472cc65437 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-12-26 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/Texinfo/Convert/Plaintext.pm (_align_lines):
+ Remove unused variable.
+
2023-12-26 Patrice Dumas <pertusus@free.fr>
* doc/texi2any_api.texi (Conversion General Information),
diff --git a/tp/Texinfo/Convert/Plaintext.pm b/tp/Texinfo/Convert/Plaintext.pm
index 08758f62fb..3bf2fdee91 100644
--- a/tp/Texinfo/Convert/Plaintext.pm
+++ b/tp/Texinfo/Convert/Plaintext.pm
@@ -1112,11 +1112,8 @@ sub _align_lines($$$$$$)
}
}
- my $orig_line;
if (!$image) {
my $chomped = chomp($line);
- # for debugging.
- $orig_line = $line;
$removed_line_bytes_end -= count_bytes($self, $chomped);
$line =~ s/^(\s*)//;
$removed_line_bytes_begin -= count_bytes($self, $1);