summaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
authorAndreas Stieger <astieger@suse.com>2017-05-28 23:49:31 +0200
committerNick Mathewson <nickm@torproject.org>2017-05-30 08:33:27 -0400
commite5f4642db3f7cc2ff66d74a8837d0aa24034cdfa (patch)
treeec70b61965aeac739a8f9912a736f100135a86b3 /src/or/dns.c
parentd1580ad49ba7a112021803428d5bdef2259b014e (diff)
downloadtor-e5f4642db3f7cc2ff66d74a8837d0aa24034cdfa.tar.gz
tor-e5f4642db3f7cc2ff66d74a8837d0aa24034cdfa.zip
Fix GCC 7 -Wimplicit-fallthrough warnings
Add magic comments recognized by default -Wimplicit-fallthrough=3 or break, as required.
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index 8a40a70d78..98b684c904 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -523,6 +523,7 @@ send_resolved_cell,(edge_connection_t *conn, uint8_t answer_type,
answer_type = RESOLVED_TYPE_ERROR;
/* fall through. */
}
+ /* Falls through. */
case RESOLVED_TYPE_ERROR_TRANSIENT:
case RESOLVED_TYPE_ERROR:
{