From 2979bf868b45871851ba2c1dd30c1ae72bdd7048 Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Wed, 1 Dec 2004 05:35:08 +0000 Subject: [PATCH] Kill uninitialized variable warnings. git-svn-id: svn://10.0.0.236/trunk@166016 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bonsai/cvsquery.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bonsai/cvsquery.cgi b/mozilla/webtools/bonsai/cvsquery.cgi index 7ae21dffbb8..930eed314d2 100755 --- a/mozilla/webtools/bonsai/cvsquery.cgi +++ b/mozilla/webtools/bonsai/cvsquery.cgi @@ -130,7 +130,7 @@ $::query_logexpr = $::FORM{'logexpr'}; # # date # -$::query_date_type = $::FORM{'date'}; +$::query_date_type = $::FORM{'date'} || 'nothing'; my $query_hours; if( $::query_date_type eq 'hours' ){ $query_hours = &ExpectDigit('hours', $::FORM{'hours'}); @@ -653,7 +653,7 @@ sub query_to_english { $english .= "by " . html_quote($::query_who) . " "; } - $::query_date_type = $::FORM{'date'}; + $::query_date_type = $::FORM{'date'} || 'nothing'; if( $::query_date_type eq 'hours' ){ $english .="in the last $query_hours hours"; }