texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: correct condition code. The result is not really


From: Patrice Dumas
Subject: branch master updated: correct condition code. The result is not really used
Date: Sun, 15 Aug 2021 17:28:44 -0400

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

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 6de10b4  correct condition code. The result is not really used
6de10b4 is described below

commit 6de10b4af7442be87f185cf140c10b6978a00a3a
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Aug 15 23:27:52 2021 +0200

    correct condition code. The result is not really used
---
 tp/t/test_utils.pl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tp/t/test_utils.pl b/tp/t/test_utils.pl
index c499869..0c6fd68 100644
--- a/tp/t/test_utils.pl
+++ b/tp/t/test_utils.pl
@@ -568,7 +568,7 @@ sub convert_to_plaintext($$$$$$;$)
   } else {
     $result = $converter->output($tree);
     close_files($converter);
-    $result = undef if (defined($result and $result eq ''));
+    $result = undef if (defined($result) and ($result eq ''));
   }
   my ($errors, $error_nrs) = $converter->errors();
   return ($errors, $result);
@@ -664,7 +664,7 @@ sub convert_to_xml($$$$$$;$)
   } else {
     $result = $converter->output($tree);
     close_files($converter);
-    $result = undef if (defined($result and $result eq ''));
+    $result = undef if (defined($result) and ($result eq ''));
   }
   my ($errors, $error_nrs) = $converter->errors();
   return ($errors, $result);
@@ -695,7 +695,7 @@ sub convert_to_docbook($$$$$$;$)
   } else {
     $result = $converter->output($tree);
     close_files($converter);
-    $result = undef if (defined($result and $result eq ''));
+    $result = undef if (defined($result) and ($result eq ''));
   }
   my ($errors, $error_nrs) = $converter->errors();
   return ($errors, $result);
@@ -726,7 +726,7 @@ sub convert_to_latex($$$$$$;$)
   } else {
     $result = $converter->output($tree);
     close_files($converter);
-    $result = undef if (defined($result and $result eq ''));
+    $result = undef if (defined($result) and ($result eq ''));
   }
   my ($errors, $error_nrs) = $converter->errors();
   return ($errors, $result);



reply via email to

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