summaryrefslogtreecommitdiffstats
path: root/MDK/Common
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-31 12:32:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-31 12:32:13 +0000
commit20751f5a53924128f4747c8dac7459f6ff30476f (patch)
tree8d9dc81cad4f803ddb8dfee2e71613a6e30bcf78 /MDK/Common
parent6bf10ae779afdb335730eafc4612d1ec0b71a4f0 (diff)
downloadperl-MDK-Common-20751f5a53924128f4747c8dac7459f6ff30476f.tar
perl-MDK-Common-20751f5a53924128f4747c8dac7459f6ff30476f.tar.gz
perl-MDK-Common-20751f5a53924128f4747c8dac7459f6ff30476f.tar.bz2
perl-MDK-Common-20751f5a53924128f4747c8dac7459f6ff30476f.tar.xz
perl-MDK-Common-20751f5a53924128f4747c8dac7459f6ff30476f.zip
remove "Use of uninitialized value" in formatAlaTeX
Diffstat (limited to 'MDK/Common')
-rw-r--r--MDK/Common/String.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MDK/Common/String.pm b/MDK/Common/String.pm
index bac5a24..c59c3c1 100644
--- a/MDK/Common/String.pm
+++ b/MDK/Common/String.pm
@@ -115,7 +115,7 @@ sub formatLines {
"$t$tmp\n";
}
sub formatAlaTeX {
- my ($t, $tmp);
+ my ($t, $tmp) = ('', '');
foreach (split "\n", $_[0]) {
if (/^$/) {
$t .= ($t && "\n") . $tmp;