Skip to content

Commit

Permalink
[mbedtls] remove -Wno-unused-but-set-variable (#10336)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhui committed Jun 4, 2024
1 parent ea61703 commit 59e202c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion third_party/mbedtls/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ config("mbedtls_config") {
defines = [ "MBEDTLS_CONFIG_FILE=\"${mbedtls_config_file}\"" ]
cflags = [
"-Wno-conversion",
"-Wno-unused-but-set-variable"
]
}

Expand Down
1 change: 0 additions & 1 deletion third_party/mbedtls/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ if(UNIFDEF_EXE)
endif()
find_program(SED_EXE sed)

string(APPEND CMAKE_C_FLAGS " -Wno-unused-but-set-variable")
string(REPLACE "-Wconversion" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
string(REPLACE "-Wconversion" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")

Expand Down

0 comments on commit 59e202c

Please sign in to comment.