You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ut...@apache.org on 2020/01/22 15:36:50 UTC

[mynewt-core] branch master updated: uncrustify: disable var alignment inside structs

This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new d19acc9  uncrustify: disable var alignment inside structs
d19acc9 is described below

commit d19acc959cc5de840bab9cf5db528954db99d946
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Wed Jan 22 08:56:49 2020 -0300

    uncrustify: disable var alignment inside structs
    
    Signed-off-by: Fabio Utzig <ut...@apache.org>
---
 uncrustify.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uncrustify.cfg b/uncrustify.cfg
index 589b142..481a62a 100644
--- a/uncrustify.cfg
+++ b/uncrustify.cfg
@@ -926,7 +926,7 @@ align_var_class_thresh          = 0        # number
 align_var_class_gap             = 0        # number
 
 # The span for aligning struct/union (0=don't align)
-align_var_struct_span           = 4        # number
+align_var_struct_span           = 0        # number
 
 # The threshold for aligning struct/union member definitions (0=no limit)
 align_var_struct_thresh         = 0        # number