minor fixes to quiet warnings, mostly assigning my strings the empty string when they

are created.
This commit is contained in:
kestes%walrus.com 2003-04-13 14:21:42 +00:00
parent e05503940f
commit fce1e4396c

View File

@ -30,8 +30,8 @@
# kestes@walrus.com Home.
# Contributor(s):
# $Revision: 1.23 $
# $Date: 2002/05/10 21:20:27 $
# $Revision: 1.24 $
# $Date: 2003/04/13 14:21:42 $
# $Author: kestes%walrus.com $
# $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/lib/TinderDB/Notice.pm,v $
# $Name: $
@ -84,7 +84,7 @@ use Utils;
use HTMLPopUp;
use TinderDB::BasicTxtDB;
$VERSION = ( qw $Revision: 1.23 $ )[1];
$VERSION = ( qw $Revision: 1.24 $ )[1];
@ISA = qw(TinderDB::BasicTxtDB);
@ -300,7 +300,7 @@ sub render_notice {
# If the user requests for us to lie about the time, we should
# also tell when the note was really posted.
my $localpostedtime;
my $localpostedtime = '';
if (
($notice->{'posttime'} - $notice->{'time'}) >
$main::SECONDS_PER_HOUR
@ -312,7 +312,7 @@ sub render_notice {
"");
}
my $rendered_association;
my $rendered_association = '';
my $assocations_ref = $notice->{'associations'};
if ($assocations_ref) {
foreach $association (sort keys %{ $assocations_ref }) {
@ -497,7 +497,7 @@ sub status_table_row {
" -->\n");
return @html;
}
my ($db_index, $first_notice_time, $authors) =
cell_data($tree,
$NEXT_DB{$tree}{$association},
@ -538,7 +538,7 @@ sub status_table_row {
$db_index = $next_db_index;
$rowspan++ ;
($next_db_index, $first_notice_time, $authors) =
cell_data($tree,
$db_index,