From f6e50f9c30ea6def179aa74617edf8482eebb360 Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Sat, 24 Aug 2024 01:26:33 +0200 Subject: [PATCH] ffi/util: remove dead code --- ffi/util.lua | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/ffi/util.lua b/ffi/util.lua index d5ca9ad3b..0ad3348c5 100644 --- a/ffi/util.lua +++ b/ffi/util.lua @@ -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.