scan-build LLVM-13 fixes: in examples/echoclient/echoclient.c, remove frivolous "break;", avoiding need to pragma-ignore clang -Wunreachable-code-break.

This commit is contained in:
Daniel Pouzzner 2021-10-18 21:45:48 -05:00
parent e341291d99
commit 768496be4a

View File

@ -318,13 +318,6 @@ void echoclient_test(void* args)
printf("SSL_read msg error %d, %s\n", err,
ERR_error_string(err, buffer));
err_sys("SSL_read failed");
#ifndef WOLFSSL_MDK_SHELL
PRAGMA_CLANG_DIAG_PUSH
PRAGMA_CLANG("clang diagnostic ignored \"-Wunreachable-code-break\"")
break;
PRAGMA_CLANG_DIAG_POP
#endif
}
}
}