From: minima Date: Mon, 16 Jan 2006 13:55:26 +0000 (+0000) Subject: fix uninitialised variable in non-xml installations X-Git-Tag: R_1_52~19 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=59ecaaed0f74040c74cbe66557c26aa8a536ee41;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^"; }