From 6dc3fa355759e49319ce0d6aad75e488c4a16247 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 10 Aug 2013 16:56:08 +0200 Subject: [PATCH] Add missing default to switch in log_session_information(). --- src/connection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/connection.c b/src/connection.c index a473873..e675a82 100644 --- a/src/connection.c +++ b/src/connection.c @@ -935,6 +935,7 @@ static void log_session_information(gnutls_session_t session) { case GNUTLS_CRD_SRP: case GNUTLS_CRD_PSK: case GNUTLS_CRD_ANON: + default: /* This shouldn't occur. */ LOG(WARNING, "unexpected authentication method: %d", cred); break; -- 2.43.2