[nautilus/uncrustify-tweaks: 1/4] uncrustify.cfg: remove superfluous semicolons



commit 0f411dc451afbc8c3fe3d216044d5b471fc525b5
Author: Ernestas Kulik <ernestask gnome org>
Date:   Wed Feb 14 11:11:17 2018 +0200

    uncrustify.cfg: remove superfluous semicolons
    
    In cases where statements accidentally end with tho semicolons or where
    semicolons are added needlessly (empty loop bodies), those semicolons
    should be removed.

 data/uncrustify.cfg | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/data/uncrustify.cfg b/data/uncrustify.cfg
index 0aed3cfee..3567b1d58 100644
--- a/data/uncrustify.cfg
+++ b/data/uncrustify.cfg
@@ -99,6 +99,7 @@ mod_full_brace_function                  = force
 mod_full_brace_if                        = force
 mod_full_brace_while                     = force
 mod_case_brace                           = force
+mod_remove_extra_semicolon               = true
 
 # Align
 align_func_params                        = true


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