summary refs log tree commit diff stats
path: root/plugins/perl
diff options
context:
space:
mode:
authorIgor <f2404@yandex.ru>2016-10-11 18:19:14 +0400
committerTingPing <tingping@tingping.se>2016-10-11 11:48:36 -0400
commit116a394ef6d76c914c3d684784a2a46f1fb6fa22 (patch)
treeb9484f7e8f25d50373d7fb7a37ffa90eb2a99060 /plugins/perl
parentebc40fe9c7d5a158601335548e40dd53098ac02c (diff)
perl: Remove dead assignment
Diffstat (limited to 'plugins/perl')
-rw-r--r--plugins/perl/perl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c
index 12cae786..ab06dc96 100644
--- a/plugins/perl/perl.c
+++ b/plugins/perl/perl.c
@@ -208,8 +208,6 @@ get_filename (char *word[], char *word_eol[])
 	int len;
 	char *file;
 
-	len = strlen (word[2]);
-
 	/* if called as /load "filename.pl" the only difference between word and
 	 * word_eol will be the two quotes
 	 */