Home GnuPG
Diffusion GnuPG 2312a7f836b8

indent: Move comments inside the block.
2312a7f836b8Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

indent: Move comments inside the block.

This fixes a few

if (foo)
  /* A comment
     with several
     lines.  */
  {
  }

Which has the problem that the block is visually not related to the
"if" and might thus falsely be considered a standalone block.

Also adds a asterisk on the left side of longer comments.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 4 2016, 2:51 PM
Parents
rG1f45878a72f2: gpgscm: Fix printing strings containing zero bytes.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG2312a7f836b8: indent: Move comments inside the block. (authored by Werner Koch <wk@gnupg.org>).Nov 4 2016, 2:52 PM