From dd1ccf218f5d2d5d9cbf426babbb50af2f6fb779 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Tue, 22 May 2012 21:56:23 +0000 Subject: leverage warnings locally for now --- lib/Parse/EDID.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/Parse/EDID.pm b/lib/Parse/EDID.pm index d970ce5..6b416b1 100755 --- a/lib/Parse/EDID.pm +++ b/lib/Parse/EDID.pm @@ -546,6 +546,7 @@ sub parse_edid { my $horizontal_total = $h->{horizontal_active} + $h->{horizontal_blanking}; my $vertical_total = $h->{vertical_active} + $h->{vertical_blanking}; + no warnings 'uninitialized'; $h->{ModeLine_comment} = sprintf qq(# Monitor %s%s modeline (%.1f Hz vsync, %.1f kHz hsync, %sratio %s%s)), $h->{preferred} ? "preferred" : "supported", $h->{source} eq 'cea_vdb' ? " CEA" : '', -- cgit v1.2.1