Skip to content

Commit

Permalink
ffi/util: remove dead code (koreader#1911)
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit-pierre committed Aug 24, 2024
1 parent d8636ff commit 1ed4685
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions ffi/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -659,17 +659,6 @@ function util.ffiLoadCandidates(candidates)
return lib_loaded, lib
end

--- Returns true if isWindows…
if ffi.os == "Windows" then
function util.isWindows()
return true
end
else
function util.isWindows()
return false
end
end

local isAndroid = nil
--- Returns true if Android.
-- For now, we just check if the "android" module can be loaded.
Expand Down

0 comments on commit 1ed4685

Please sign in to comment.