From 7363a7921a9e353722b929f4ff3eda8bf828ef52 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 9 Dec 2013 11:23:37 -0500 Subject: [PATCH] Fix an unused variable warning. --- lib/whatever-dl/websites/pornhd.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.43.2