texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/Convert/HTML.pm (_convert_menu_entry


From: Gavin D. Smith
Subject: branch master updated: * tp/Texinfo/Convert/HTML.pm (_convert_menu_entry_type): Initialize a variable.
Date: Mon, 24 Oct 2022 10:47:47 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 6cd1197f80 * tp/Texinfo/Convert/HTML.pm (_convert_menu_entry_type): 
Initialize a variable.
6cd1197f80 is described below

commit 6cd1197f809aa7288597fb59eb4fc7b9ed5b3ab4
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Oct 24 15:47:39 2022 +0100

    * tp/Texinfo/Convert/HTML.pm (_convert_menu_entry_type):
    Initialize a variable.
    
    This avoids error "Use of uninitialized value $href in string ne..."
    when running the test suite.
---
 ChangeLog                  | 8 ++++++++
 tp/Texinfo/Convert/HTML.pm | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 7384810c7f..3c71a5a07a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-10-24  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * tp/Texinfo/Convert/HTML.pm (_convert_menu_entry_type):
+       Initialize a variable.
+
+       This avoids error "Use of uninitialized value $href in string ne..."
+       when running the test suite.
+
 2022-10-24  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * doc/texinfo.texi (Cross Reference Parts, Marking Text, @set @value)
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 78b8127620..8c449f29c3 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -5855,7 +5855,7 @@ sub _convert_menu_entry_type($$$)
   my $type = shift;
   my $element = shift;
   
-  my $href;
+  my $href = '';
   my $rel = '';
   my $section;
   my $node_entry = $element->{'extra'}->{'menu_entry_node'};



reply via email to

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