aboutsummaryrefslogtreecommitdiff
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-09-11 17:47:04 -0400
commit6cd5a80275614105ccf8794465b6ba5c0c5e8f3f (patch)
tree6522e4bd90ea9926ac9bd526b24e465272c17be8 /src/or/buffers.c
parentb81a2e8f46bf5951a9dd0890f7e1420cf3a6a57c (diff)
downloadtor-6cd5a80275614105ccf8794465b6ba5c0c5e8f3f.tar.gz
tor-6cd5a80275614105ccf8794465b6ba5c0c5e8f3f.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 8981fd283b..89382d1d8e 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -1595,6 +1595,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;