Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 02f8e2f

Browse files
Fix lint (2)
1 parent 0937574 commit 02f8e2f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎lib/vips.rb‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ def library_name(name, abi_number)
3030
# check if the GLib DLLs are available. If these can not be found, we
3131
# assume that GLib is statically linked into libvips.
3232
begin
33-
lib=FFI::DynamicLibrary.open("lib#{name}-#{abi_number}.dll",
33+
FFI::DynamicLibrary.open("lib#{name}-#{abi_number}.dll",
3434
FFI::DynamicLibrary::RTLD_LAZY | FFI::DynamicLibrary::RTLD_LOCAL)
35-
lib if lib
3635

3736
# LoadError for JRuby, RuntimeError for TruffleRuby
3837
rescue LoadError, RuntimeError

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /