Message ID | 20201217224834.160-1-lstipakov@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [Openvpn-devel] ssl_common.h: fix "not all control paths return a value" msvc warning | expand |
Acked-by: Gert Doering <gert@greenie.muc.de> Your patch has been applied to the master branch. commit 86d7e9902db7fcbbbc31aaa5b69bee82375caa21 Author: Lev Stipakov Date: Fri Dec 18 00:48:34 2020 +0200 ssl_common.h: fix 'not all control paths return a value' msvc warning Signed-off-by: Lev Stipakov <lev@openvpn.net> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20201217224834.160-1-lstipakov@gmail.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21373.html Signed-off-by: Gert Doering <gert@greenie.muc.de> -- kind regards, Gert Doering
diff --git a/src/openvpn/ssl_common.h b/src/openvpn/ssl_common.h index f435089a..a826e37f 100644 --- a/src/openvpn/ssl_common.h +++ b/src/openvpn/ssl_common.h @@ -596,6 +596,7 @@ get_key_scan(struct tls_multi *multi, int index) return &multi->session[TM_LAME_DUCK].key[KS_LAME_DUCK]; default: ASSERT(false); + return NULL; /* NOTREACHED */ } }