diff options
author | Nico Weber <nicolasweber@gmx.de> | 2018-10-24 15:34:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 15:34:43 (GMT) |
commit | fccab7408a53b936fe1a6a527746a5119be71c66 (patch) | |
tree | c58f35a8d50e7516211f4dc82d40e37720cfa5b8 /src/util.cc | |
parent | d2045dedc39885e702176b2b5e05bc77024ae3aa (diff) | |
parent | 08ef815c7b55f28417b1a965eeab3640558d5f5a (diff) | |
download | Ninja-fccab7408a53b936fe1a6a527746a5119be71c66.zip Ninja-fccab7408a53b936fe1a6a527746a5119be71c66.tar.gz Ninja-fccab7408a53b936fe1a6a527746a5119be71c66.tar.bz2 |
Merge pull request #1417 from stefanb2/topic-silence-gcc-fallthrough-warnings
Silence GCC -Wimplicit-fallthrough warnings
Diffstat (limited to 'src/util.cc')
-rw-r--r-- | src/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cc b/src/util.cc index 61a038b..760bc23 100644 --- a/src/util.cc +++ b/src/util.cc @@ -197,7 +197,7 @@ bool CanonicalizePath(char* path, size_t* len, uint64_t* slash_bits, case '\\': bits |= bits_mask; *c = '/'; - // Intentional fallthrough. + NINJA_FALLTHROUGH; case '/': bits_mask <<= 1; } |