[mythtv-commits] Ticket #4416: Prevent 'uninitialized' variable warnings in EnvCan weather grabber
MythTV
mythtv at cvs.mythtv.org
Thu Jan 3 16:54:40 UTC 2008
#4416: Prevent 'uninitialized' variable warnings in EnvCan weather grabber
-----------------------------------------------+----------------------------
Reporter: Joe Ripley <vitaminjoe at gmail.com> | Owner: ldunning
Type: patch | Status: new
Priority: trivial | Milestone: 0.21
Component: mythweather | Version: head
Severity: low | Mlocked: 0
-----------------------------------------------+----------------------------
When the envcan.pl script is run with perl -w (i.e. warnings), a bunch of
harmless uninitialized variable warnings are printed on standard error.
This may confuse some to believing the script isn't working.
To fix this, I've added checks to see if certain hash keys exist before
they are checked for values.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4416>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list