texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Wed, 24 Jan 2024 17:51:16 -0500 (EST)

branch: master
commit 492151f896d84e44d949afc778bb6d1c9f6d4383
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Jan 24 21:41:08 2024 +0100

    * tp/Texinfo/Convert/ConvertXS.pm (BEGIN),
    tp/Texinfo/Convert/Paragraph.pm (BEGIN), tp/Texinfo/DocumentXS.pm
    (BEGIN), tp/Texinfo/IndicesXS.pm (BEGIN), tp/Texinfo/MiscXS.pm
    (BEGIN), tp/Texinfo/Parser.pm (BEGIN), tp/Texinfo/StructTransfXS.pm
    (BEGIN): leave out Texinfo::XSLoader::init warning and fatal message
    arguments when they are undef.
---
 ChangeLog                       | 9 +++++++++
 tp/Texinfo/Convert/ConvertXS.pm | 2 --
 tp/Texinfo/Convert/Paragraph.pm | 5 -----
 tp/Texinfo/DocumentXS.pm        | 5 -----
 tp/Texinfo/IndicesXS.pm         | 2 --
 tp/Texinfo/MiscXS.pm            | 2 --
 tp/Texinfo/Parser.pm            | 5 -----
 tp/Texinfo/StructTransfXS.pm    | 2 --
 8 files changed, 9 insertions(+), 23 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 52050ca0c6..3fbed52d56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -42,6 +42,15 @@
        Set 'encoding_disabled' on the nested count context and pass
        result to _stream_output instead of _stream_output_encoded.
 
+2024-01-23  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/ConvertXS.pm (BEGIN),
+       tp/Texinfo/Convert/Paragraph.pm (BEGIN), tp/Texinfo/DocumentXS.pm
+       (BEGIN), tp/Texinfo/IndicesXS.pm (BEGIN), tp/Texinfo/MiscXS.pm
+       (BEGIN), tp/Texinfo/Parser.pm (BEGIN), tp/Texinfo/StructTransfXS.pm
+       (BEGIN): leave out Texinfo::XSLoader::init warning and fatal message
+       arguments when they are undef.
+
 2024-01-23  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/DocumentXS.pm (BEGIN), tp/Texinfo/IndicesXS.pm (BEGIN),
diff --git a/tp/Texinfo/Convert/ConvertXS.pm b/tp/Texinfo/Convert/ConvertXS.pm
index d0ea373e2d..7eaa8db671 100644
--- a/tp/Texinfo/Convert/ConvertXS.pm
+++ b/tp/Texinfo/Convert/ConvertXS.pm
@@ -47,8 +47,6 @@ BEGIN {
       "ConvertXS",
       undef,
       0,
-      undef,
-      undef,
     );
   }
 }
diff --git a/tp/Texinfo/Convert/Paragraph.pm b/tp/Texinfo/Convert/Paragraph.pm
index 19f45d1e5a..c077cdc4d4 100644
--- a/tp/Texinfo/Convert/Paragraph.pm
+++ b/tp/Texinfo/Convert/Paragraph.pm
@@ -49,9 +49,6 @@ sub import {
 }
 
 BEGIN {
-  our $warning_message = undef;
-  our $fatal_message = undef;
-
   # Save reference to subroutine before we do anything.
   my $import_fn = \&import;
 
@@ -61,8 +58,6 @@ BEGIN {
     "XSParagraph",
     undef,
     0,
-    $warning_message,
-    $fatal_message
   );
 
   no strict 'refs';
diff --git a/tp/Texinfo/DocumentXS.pm b/tp/Texinfo/DocumentXS.pm
index f52e392496..b4d40b21fa 100644
--- a/tp/Texinfo/DocumentXS.pm
+++ b/tp/Texinfo/DocumentXS.pm
@@ -25,17 +25,12 @@ our $VERSION = '7.1dev';
 use Texinfo::XSLoader;
 
 BEGIN {
-  our $warning_message = undef;
-  our $fatal_message = undef;
-
   my $package = Texinfo::XSLoader::init (
       "Texinfo::DocumentXS",
       undef,
       "DocumentXS",
       undef,
       0,
-      $warning_message,
-      $fatal_message
   );
 }
 
diff --git a/tp/Texinfo/IndicesXS.pm b/tp/Texinfo/IndicesXS.pm
index 0feb09b067..62b8304a19 100644
--- a/tp/Texinfo/IndicesXS.pm
+++ b/tp/Texinfo/IndicesXS.pm
@@ -43,8 +43,6 @@ BEGIN {
       "IndicesXS",
       undef,
       0,
-      undef,
-      undef,
     );
   }
 }
diff --git a/tp/Texinfo/MiscXS.pm b/tp/Texinfo/MiscXS.pm
index 3cfd728348..958d4fef37 100644
--- a/tp/Texinfo/MiscXS.pm
+++ b/tp/Texinfo/MiscXS.pm
@@ -33,8 +33,6 @@ BEGIN {
     "MiscXS",
     undef,
     0,
-    undef,
-    undef,
   );
 }
 
diff --git a/tp/Texinfo/Parser.pm b/tp/Texinfo/Parser.pm
index a18c828585..b757a8cf2d 100644
--- a/tp/Texinfo/Parser.pm
+++ b/tp/Texinfo/Parser.pm
@@ -25,9 +25,6 @@ our $VERSION = '7.1dev';
 use Texinfo::XSLoader;
 
 BEGIN {
-  our $warning_message = undef;
-  our $fatal_message = undef;
-
   my $xs_package = "Texinfo::Parser";
   if (defined $ENV{TEXINFO_XS_PARSER}
       and $ENV{TEXINFO_XS_PARSER} eq '0') {
@@ -40,8 +37,6 @@ BEGIN {
       "Parsetexi",
       "Texinfo::XS::parsetexi::Parsetexi",
       0,
-      $warning_message,
-      $fatal_message
   );
 }
 
diff --git a/tp/Texinfo/StructTransfXS.pm b/tp/Texinfo/StructTransfXS.pm
index bfbbda57cd..62ed90b28f 100644
--- a/tp/Texinfo/StructTransfXS.pm
+++ b/tp/Texinfo/StructTransfXS.pm
@@ -35,8 +35,6 @@ BEGIN {
       "StructuringTransfoXS",
       undef,
       0,
-      undef,
-      undef,
     );
   }
 }



reply via email to

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