summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/misc_upcoming_recordings.pl
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-07-02 15:43:32 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-07-02 15:43:32 (GMT)
commit15b6550904441123df9a7b0608545e61b5f31acb (patch)
tree1bfc620a25af292779653d2127746041aa152b65 /abs/core/LinHES-system/misc_upcoming_recordings.pl
parent6df05bf800839e95f4b03f67207e7fdba3a4c90b (diff)
downloadlinhes_pkgbuild-15b6550904441123df9a7b0608545e61b5f31acb.zip
linhes_pkgbuild-15b6550904441123df9a7b0608545e61b5f31acb.tar.gz
linhes_pkgbuild-15b6550904441123df9a7b0608545e61b5f31acb.tar.bz2
LinHES-system: misc_upcoming_recordings.pl: suppress a warning.
Diffstat (limited to 'abs/core/LinHES-system/misc_upcoming_recordings.pl')
-rwxr-xr-xabs/core/LinHES-system/misc_upcoming_recordings.pl10
1 files changed, 8 insertions, 2 deletions
diff --git a/abs/core/LinHES-system/misc_upcoming_recordings.pl b/abs/core/LinHES-system/misc_upcoming_recordings.pl
index 377c2dc..26ec1b4 100755
--- a/abs/core/LinHES-system/misc_upcoming_recordings.pl
+++ b/abs/core/LinHES-system/misc_upcoming_recordings.pl
@@ -305,7 +305,10 @@ EOF
sub status_print {
my $count = shift;
my $text = $show->format_name($status_text_format, ' ', ' ', 1, 0 ,1);
- $text =~ s/%rs/$MythTV::RecStatus_Types{$show->{'recstatus'}}/g;
+ {
+ no warnings 'uninitialized';
+ $text =~ s/%rs/$MythTV::RecStatus_Types{$show->{'recstatus'}}/g;
+ }
my $value = $show->format_name($status_value_format, ' ', ' ',
1, 0 ,1);
$value =~ s/%rs/$MythTV::RecStatus_Types{$show->{'recstatus'}}/g;
@@ -320,7 +323,10 @@ EOF
sub text_print {
my $count = shift;
my $text = $show->format_name($text_format, ' ', ' ', 1, 0 ,1);
- $text =~ s/%rs/$MythTV::RecStatus_Types{$show->{'recstatus'}}/g;
+ {
+ no warnings 'uninitialized';
+ $text =~ s/%rs/$MythTV::RecStatus_Types{$show->{'recstatus'}}/g;
+ }
$text =~ s/\\r/\r/g;
$text =~ s/\\n/\n/g;
print("$heading") if ($count == 0);