Skip to content

Commit

Permalink
Fix to ssl_sock_imp_common warning 'io_read': 'void' function returni…
Browse files Browse the repository at this point in the history
…ng a value MSVC(C4098) (#3727)
  • Loading branch information
amubiera authored Oct 9, 2023
1 parent 4f8b751 commit 5c28fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pjlib/src/pj/ssl_sock_imp_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ inline static void io_read(pj_ssl_sock_t *ssock, circ_buf_t *cb,
pj_uint8_t *dst, pj_size_t len)
{
PJ_UNUSED_ARG(ssock);
return circ_read(cb, dst, len);
circ_read(cb, dst, len);
}
inline static pj_status_t io_write(pj_ssl_sock_t *ssock, circ_buf_t *cb,
const pj_uint8_t *src, pj_size_t len)
Expand Down

0 comments on commit 5c28fc6

Please sign in to comment.