From 222fb283c8cb372b27f7e0be296ef433b27f9fb3 Mon Sep 17 00:00:00 2001 From: bol-van Date: Thu, 13 Jun 2024 15:35:40 +0300 Subject: [PATCH] tpws: fix clang warning --- tpws/tamper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tpws/tamper.c b/tpws/tamper.c index 325d3d1..222b1de 100644 --- a/tpws/tamper.c +++ b/tpws/tamper.c @@ -36,8 +36,9 @@ static size_t tls_pos(enum tlspos tpos_type, size_t tpos_pos, const uint8_t *tls // fall through case tlspos_pos: return tpos_pos; + default: + return 0; } - return 0; }