mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-07 18:12:55 +03:00
coap_openssl.c: fix compiler warning for coap_dtls_new_context()
This commit is contained in:
1 parent
7dfeb91978
commit
a061428eb6
1 file changed
+1
@@ -299,6 +299,7 @@ static void coap_dtls_info_callback(const SSL *ssl, int where, int ret) {
|
||||
|
||||
void *coap_dtls_new_context(struct coap_context_t *coap_context) {
|
||||
coap_dtls_context_t *context;
|
||||
(void)coap_context;
|
||||
|
||||
context = (coap_dtls_context_t *)coap_malloc(sizeof(coap_dtls_context_t));
|
||||
if (context) {
|
||||
|
||||
Reference in new issue
Block a user