mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
include: Remove warning cause VSC doesn't know about it.
This commit is contained in:
@@ -267,7 +267,6 @@ int match_hostname(const char *host, const char *pattern, unsigned int len);
|
|||||||
memset((x), '\0', (size)); __asm__ volatile("" : : "r"(&(x)) : "memory"); \
|
memset((x), '\0', (size)); __asm__ volatile("" : : "r"(&(x)) : "memory"); \
|
||||||
} while(0)
|
} while(0)
|
||||||
#else /* HAVE_GCC_VOLATILE_MEMORY_PROTECTION */
|
#else /* HAVE_GCC_VOLATILE_MEMORY_PROTECTION */
|
||||||
#warning "We do not have asn volatile memory protection"
|
|
||||||
/** Overwrite a string with '\0' */
|
/** Overwrite a string with '\0' */
|
||||||
# define BURN_STRING(x) do { \
|
# define BURN_STRING(x) do { \
|
||||||
if ((x) != NULL) memset((x), '\0', strlen((x))); \
|
if ((x) != NULL) memset((x), '\0', strlen((x))); \
|
||||||
|
|||||||
Reference in New Issue
Block a user