diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2018-09-26 15:32:49 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2018-09-27 14:28:44 +0200 |
commit | 439203cb04cee677a6cd8bf9cb02b82d626713cc (patch) | |
tree | f139daddb8eac442584a4db881a2d3cbf67519f9 /README.md | |
parent | 2197c7c208773910eafa378cbc5504cbe5d97df6 (diff) |
Allow mixed declaration and code
Removes the -Wdeclaration-after-statement compiler flag to allow mixed
declaration and code
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -120,6 +120,9 @@ the code also follows GlobalPlatform standards. The exceptions are as follows: deviate too much from upstream and therefore it would be hard to rebase against those projects later on and we don't expect that it is easy to convince other software projects to change coding style. + Automatic variables should always be initialized. Mixed declarations + and statements are allowed, and may be used to avoid assigning useless + values. Please leave one blank line before and after such declarations. Regarding the checkpatch tool, it is not included directly into this project. Please use checkpatch.pl from the Linux kernel git in combination with the |