commit | ebfec1c531f32d424bb2aca6e7391ef3bfcbfe20 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jan 22 21:14:53 2023 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jan 22 21:14:53 2023 +0000 |
tree | d017ab5fcc15f2eef851de089c3b2aef39d7a387 | |
parent | 3d79f0a4309995956bd8889940cca22f7a15881d [diff] [blame] |
patch 9.0.1234: the code style has to be checked manually Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems.
diff --git a/src/nbdebug.h b/src/nbdebug.h index 9a47c3a..20bbb04 100644 --- a/src/nbdebug.h +++ b/src/nbdebug.h
@@ -15,7 +15,8 @@ # ifndef ASSERT # define ASSERT(c) \ - if (!(c)) { \ + if (!(c)) \ + { \ fprintf(stderr, "Assertion failed: line %d, file %s\n", \ __LINE__, __FILE__); \ fflush(stderr); \