From a19c94964fd41559ffc3ab352fbe7a6a9491fe47 Mon Sep 17 00:00:00 2001 From: Karol Bucek Date: Fri, 24 Oct 2025 11:09:50 +0200 Subject: [PATCH] drop unused local variable in vendor/mofile.rb a small warning, while running in `$VERBOSE` mode: ``` gems/fast_gettext-4.1.0/lib/fast_gettext/vendor/mofile.rb:182: warning: assigned but unused variable - i ``` --- lib/fast_gettext/vendor/mofile.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/fast_gettext/vendor/mofile.rb b/lib/fast_gettext/vendor/mofile.rb index c7514b2..9743de6 100644 --- a/lib/fast_gettext/vendor/mofile.rb +++ b/lib/fast_gettext/vendor/mofile.rb @@ -179,7 +179,6 @@ def next_prime(seed) # 1986, 1987 Bell Telephone Laboratories, Inc.] def hash_string(str) hval = 0 - i = 0 str.each_byte do |b| break if b == '\0' hval <<= 4