Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite56d717

Browse files
committed
Silence Perl warning
Now that warnings are enabled across the board, this code that tries toprint an undef variable emits one. Silently printing the empty stringachieves the previous behavior.Author: Álvaro Herrera <alvherre@alvh.no-ip.org>Reviewed-by: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>Discussion:https://postgr.es/m/E1jO1VT-0008Qk-TM@gemulon.postgresql.org
1 parentbc3087b commite56d717

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎doc/src/sgml/mk_feature_tables.pl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@
5454
{
5555
print" <entry>$feature_id</entry>\n";
5656
}
57-
print" <entry>" .$feature_packages{$feature_id} ."</entry>\n";
57+
print" <entry>",
58+
defined($feature_packages{$feature_id}) ?$feature_packages{$feature_id} :"",
59+
"</entry>\n";
5860
if ($subfeature_id)
5961
{
6062
print" <entry>$subfeature_name</entry>\n";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp