Merge branch '46-add-curly-braces' into 'master'
Add curly braces using uncrustify and then reformat with clang-format back Closes #46 See merge request isc-projects/bind9!3057 (cherry picked from commit67b68e06ad)36c6105eUse coccinelle to add braces to nested single line statementd14bb713Add copy of run-clang-tidy that can fixup the filepaths056e133cUse clang-tidy to add curly braces around one-line statements
This commit is contained in:
@@ -18,10 +18,10 @@
|
||||
#include <stddef.h>
|
||||
#if defined(WIN32) || defined(WIN64)
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#endif /* if defined(WIN32) || defined(WIN64) */
|
||||
|
||||
#include "entropy_private.h"
|
||||
#include "isc/hash.h" // IWYU pragma: keep
|
||||
#include "isc/hash.h" /* IWYU pragma: keep */
|
||||
#include "isc/likely.h"
|
||||
#include "isc/once.h"
|
||||
#include "isc/random.h"
|
||||
@@ -44,9 +44,9 @@ isc_hash_initialize(void)
|
||||
* Set a constant key to help in problem reproduction should
|
||||
* fuzzing find a crash or a hang.
|
||||
*/
|
||||
#else
|
||||
#else /* if FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
|
||||
isc_entropy_get(key, sizeof(key));
|
||||
#endif
|
||||
#endif /* if FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
|
||||
memmove(isc_hash_key, key, sizeof(isc_hash_key));
|
||||
hash_initialized = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user