Skip to content

Commit

Permalink
Silence -Wimplicit-fallthrough for jsontlv
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeChronos928 committed May 3, 2022
1 parent caa1d6b commit c62f3ae
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/lib/support/jsontlv/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,17 @@

import("//build_overrides/chip.gni")

config("jsontlv_config") {
cflags = [ "-Wno-implicit-fallthrough" ]
}

static_library("jsontlv") {
sources = [ "TlvJson.cpp" ]

public_configs = [ ":jsontlv_config" ]

public_deps = [
"${chip_root}/src/lib/core",
"${chip_root}/third_party/jsoncpp",
]

sources = [ "TlvJson.cpp" ]
}

0 comments on commit c62f3ae

Please sign in to comment.