Formatting workaround to make clang-format happy on OSX (#3467)
Co-authored-by: theohax <theo@nano.org>
This commit is contained in:
parent
8ecbb1d251
commit
9e2e8d259e
2 changed files with 2 additions and 3 deletions
|
|
@ -42,7 +42,6 @@ void NOT_OPTIMIZED nano::secure_wipe_memory (void * v, size_t n)
|
|||
#elif defined(HAVE_EXPLICIT_BZERO)
|
||||
explicit_bzero (v, n);
|
||||
#else
|
||||
static void * (*const volatile memset_sec)(void *, int, size_t) = &memset;
|
||||
memset_sec (v, 0, n);
|
||||
memset (v, 0, n);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
std::size_t nano::get_file_descriptor_limit ()
|
||||
{
|
||||
std::size_t fd_limit = (std::numeric_limits<std::size_t>::max)();
|
||||
std::size_t fd_limit = std::numeric_limits<std::size_t>::max ();
|
||||
#ifndef _WIN32
|
||||
rlimit limit{};
|
||||
if (getrlimit (RLIMIT_NOFILE, &limit) == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue