From b97bda128242e3284bee8c099d98293aa229f804 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Fri, 13 Jan 2023 04:04:57 +1100 Subject: 3rdparty: Suppress unused variabe warnings for SQLite3 - clang 15.0.5 for Windows considers sqlite3_os_type unused. --- scripts/src/3rdparty.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index c596e4342bf..bf21cbc9344 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -980,6 +980,7 @@ project "sqlite3" "-Wno-discarded-qualifiers", "-Wno-undef", "-Wno-unused-but-set-variable", + "-Wno-unused-variable", } if _OPTIONS["gcc"]~=nil then if string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs") or string.find(_OPTIONS["gcc"], "android") then -- cgit v1.2.3