diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-09-18 13:54:27 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-18 13:54:27 +0200 |
commit | 2df7414a7390771316be4cc8822650470e7d7aa8 (patch) | |
tree | 65a412b504a75f4d17a4e04becf84d3e75876f9f /docs/CHECKSRC.md | |
parent | 2cf5f93680b69f9ab5990d733c125e6499439b02 (diff) | |
download | curl-2df7414a7390771316be4cc8822650470e7d7aa8.tar.gz |
CHECKSRC: document two missing warnings
Diffstat (limited to 'docs/CHECKSRC.md')
-rw-r--r-- | docs/CHECKSRC.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/CHECKSRC.md b/docs/CHECKSRC.md index 96150922b..ac43ea589 100644 --- a/docs/CHECKSRC.md +++ b/docs/CHECKSRC.md @@ -70,6 +70,8 @@ warnings are: - `NOSPACEEQUALS`: An equals sign was found without preceding space. We prefer `a = 2` and *not* `a=2`. +- `ONELINECONDITION`: do not put the conditional block on the same line as `if()` + - `OPENCOMMENT`: File ended with a comment (`/*`) still "open". - `PARENBRACE`: `){` was used without sufficient space in between. @@ -100,6 +102,8 @@ warnings are: - `TRAILINGSPACE`: Trailing white space on the line +- `TYPEDEFSTRUCT`: we frown upon (most) typedefed structs + - `UNUSEDIGNORE`: a checksrc inlined warning ignore was asked for but not used, that's an ignore that should be removed or changed to get used. |