summaryrefslogtreecommitdiff
path: root/src/or/buffers.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/buffers.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/buffers.c')
-rw-r--r--src/or/buffers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 58cfdeee84..3692ed4d08 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -1715,6 +1715,7 @@ parse_socks(const char *data, size_t datalen, socks_request_t *req,
return -1;
}
tor_assert(0);
+ break;
case 4: { /* socks4 */
enum {socks4, socks4a} socks4_prot = socks4a;
const char *authstart, *authend;