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:
@@ -174,10 +174,12 @@ main(int argc, char *argv[])
|
||||
dispatchmgr, disp4,
|
||||
disp6) == ISC_R_SUCCESS);
|
||||
|
||||
if (disp4 != NULL)
|
||||
if (disp4 != NULL) {
|
||||
dns_dispatch_detach(&disp4);
|
||||
if (disp6 != NULL)
|
||||
}
|
||||
if (disp6 != NULL) {
|
||||
dns_dispatch_detach(&disp6);
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
@@ -240,8 +242,9 @@ main(int argc, char *argv[])
|
||||
isc_socketmgr_destroy(&socketmgr);
|
||||
isc_timermgr_destroy(&timermgr);
|
||||
|
||||
if (verbose)
|
||||
if (verbose) {
|
||||
isc_mem_stats(mctx, stdout);
|
||||
}
|
||||
isc_mem_destroy(&mctx);
|
||||
|
||||
isc_app_finish();
|
||||
|
||||
Reference in New Issue
Block a user