commit | 3a4002ed87fee6e892034e239835e6e72c692a3e | [log] [tgz] |
---|---|---|
author | Bernie Innocenti <codewiz@google.com> | Fri Oct 12 21:27:45 2018 +0900 |
committer | Bernie Innocenti <codewiz@google.com> | Fri Oct 12 21:35:36 2018 +0900 |
tree | 921de619c8fee0f7fc950e47a6f506a1016c0317 | |
parent | f40b3bdd413760f466cf4f7a697b92958c265ff3 [diff] [blame] |
Turn implicit fallthrow warnings into errors Test: m netd ndc bpfloader libnetd_client netd_integration_test netd_unit_test netd_benchmark Change-Id: Ie607ab784fd6470d7dc7654b07f33f7f5b943118
diff --git a/res_query.cpp b/res_query.cpp index 526586a..dd6b1fb 100644 --- a/res_query.cpp +++ b/res_query.cpp
@@ -273,7 +273,7 @@ switch (statp->res_h_errno) { case NO_DATA: got_nodata++; - [[fallthrough]]; + break; case HOST_NOT_FOUND: /* keep trying */ break;