From: Michael Orlitzky Date: Mon, 9 Dec 2013 16:23:37 +0000 (-0500) Subject: Fix an unused variable warning. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=7363a7921a9e353722b929f4ff3eda8bf828ef52;p=dead%2Fwhatever-dl.git Fix an unused variable warning. --- diff --git a/lib/whatever-dl/websites/pornhd.rb b/lib/whatever-dl/websites/pornhd.rb index b841f5a..0ce6099 100644 --- a/lib/whatever-dl/websites/pornhd.rb +++ b/lib/whatever-dl/websites/pornhd.rb @@ -37,7 +37,7 @@ class Pornhd < Website def get_video_filename() # Use whatever comes after the final frontslash in the main URL, # not the video URL. Assume it's an FLV. - filename = @url.split('/').pop() + '.flv' + return @url.split('/').pop() + '.flv' end protected;