diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2018-06-27 17:28:40 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-27 17:28:40 +0900 |
| commit | 0d1d9e1e3dbe233d86af9a3e194d6ffe3ff7be62 (patch) | |
| tree | eb4616701391335449d1c2d775e2780c29ac75bb | |
| parent | 12232a5ea0bbf26f174ba017ef506df11042c037 (diff) | |
| parent | cacbf99889fd9c971aacde280dcad6192cd0017e (diff) | |
| download | libgit2-0d1d9e1e3dbe233d86af9a3e194d6ffe3ff7be62.tar.gz | |
Merge pull request #4691 from pks-t/pks/http-parser-fallthrough
deps: fix implicit fallthrough warning in http-parser
| -rw-r--r-- | deps/http-parser/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/http-parser/CMakeLists.txt b/deps/http-parser/CMakeLists.txt index 77d9de7a3..4a8bafd2f 100644 --- a/deps/http-parser/CMakeLists.txt +++ b/deps/http-parser/CMakeLists.txt @@ -1,3 +1,5 @@ FILE(GLOB SRC_HTTP "*.c" "*.h") ADD_LIBRARY(http-parser OBJECT ${SRC_HTTP}) + +ENABLE_WARNINGS(implicit-fallthrough=1) |
