From: minima Date: Mon, 16 Jan 2006 13:55:26 +0000 (+0000) Subject: fix uninitialised variable in non-xml installations X-Git-Tag: 1.53~75 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6181396aed78196fdff45033de7b59d6a2fcd6c1;p=spider.git fix uninitialised variable in non-xml installations --- diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 31c9a7fc..657057c9 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -123,7 +123,8 @@ sub pc17 # Request init string sub pc18 { - my $flags = " xml" if $handle_xml; + my $flags = ""; + $flags .= " xml" if $handle_xml; return "PC18^DXSpider Version: $main::version Build: $main::build$flags^$DXProt::myprot_version^"; }