coap_openssl.c: fix compiler warning for coap_dtls_new_context()

This commit is contained in:
Olaf Bergmann committed 2017-08-02 21:14:06 +02:00
1 parent 7dfeb91978
commit a061428eb6
1 file changed
+1
+1
View File
@@ -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) {