wincng.c: fix unused argument warning if clear memory is not enabled

This commit is contained in:
Marc Hoersken 2015-03-23 21:33:24 +01:00
parent 57dea4df6d
commit 09a559433e

View File

@ -288,6 +288,10 @@ _libssh2_wincng_random(void *buf, int len)
static void
_libssh2_wincng_safe_free(void *buf, int len)
{
#ifndef LIBSSH2_CLEAR_MEMORY
(void)len;
#endif
if (!buf)
return;