From 166fee60c7914868395e3ed2ea93c15d2993d03d Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Sat, 3 Oct 2015 17:46:48 +0900 Subject: [PATCH] Remove useless code --- lib/fluent/plugin/file_wrapper.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/fluent/plugin/file_wrapper.rb b/lib/fluent/plugin/file_wrapper.rb index a1272d2815..b6ecd41cec 100644 --- a/lib/fluent/plugin/file_wrapper.rb +++ b/lib/fluent/plugin/file_wrapper.rb @@ -107,8 +107,7 @@ def ino return 0 end - fileindex = by_handle_file_information.unpack("I11Q1")[11] - return fileindex + by_handle_file_information.unpack("I11Q1")[11] # fileindex end def stat