Skip to content

removed a warning #2

Merged
merged 2 commits into from Jan 6, 2012

2 participants

@domm
domm commented Oct 18, 2010

Hi!

Rendering an image sometimes caused warnings:
Use of uninitialized value $w in string eq at /home/domm/perl/other/text-textile/lib/Text/Textile.pm line 1559.
Use of uninitialized value $h in string eq at /home/domm/perl/other/text-textile/lib/Text/Textile.pm line 1560.

My first commit adds a rather simple test to render an image which shows the warnings
The second commit fixes the code that causes the warning.

Please apply if you like it...

@bradchoate bradchoate merged commit d683d96 into bradchoate:master Jan 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.