gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 159/411: CHECKSRC: document two missing warnings


From: gnunet
Subject: [gnurl] 159/411: CHECKSRC: document two missing warnings
Date: Wed, 13 Jan 2021 01:19:34 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit 2df7414a7390771316be4cc8822650470e7d7aa8
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Fri Sep 18 13:54:27 2020 +0200

    CHECKSRC: document two missing warnings
---
 docs/CHECKSRC.md | 4 ++++
 1 file changed, 4 insertions(+)

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.
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]