From 9be25a87ed5da9c341482f804601da8ef6a1a5b3 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Tue, 29 May 2018 15:16:05 -0700 Subject: [PATCH] [scan-build] define KEY_EXCHANGE_ECDHE_ECDSA_ENABLED to avoid warnings (#2756) --- .travis/script.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis/script.sh b/.travis/script.sh index 254c46ec8..1daa35f51 100755 --- a/.travis/script.sh +++ b/.travis/script.sh @@ -42,6 +42,10 @@ set -x [ $BUILD_TARGET != scan-build ] || { ./bootstrap || die + + # avoids "third_party/mbedtls/repo/library/ssl_srv.c:2904:9: warning: Value stored to 'p' is never read" + export CPPFLAGS=-DMBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED + scan-build ./configure \ --enable-cli-app=all \ --enable-ncp-app=all \