forked from wolfSSL/wolfssl
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:
@@ -318,13 +318,6 @@ void echoclient_test(void* args)
|
|||||||
printf("SSL_read msg error %d, %s\n", err,
|
printf("SSL_read msg error %d, %s\n", err,
|
||||||
ERR_error_string(err, buffer));
|
ERR_error_string(err, buffer));
|
||||||
err_sys("SSL_read failed");
|
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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user