Mercurial > vim
comparison src/indent.c @ 16162:cd5c83115ec6 v8.1.1086
patch 8.1.1086: too many curly braces
commit https://github.com/vim/vim/commit/abab0b0fdd6535969447b03a4fffc1947918cf6c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 30 18:47:01 2019 +0100
patch 8.1.1086: too many curly braces
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Mar 2019 19:00:07 +0100 |
parents | d2f0154a44f5 |
children | ef00b6bc186b |
comparison
equal
deleted
inserted
replaced
16161:75fa84e2461b | 16162:cd5c83115ec6 |
---|---|
3868 | 3868 |
3869 // if we've used up all the elses, then | 3869 // if we've used up all the elses, then |
3870 // this must be the if that we want! | 3870 // this must be the if that we want! |
3871 // match the indent level of that if. | 3871 // match the indent level of that if. |
3872 if (elselevel <= 0 && whilelevel <= 0) | 3872 if (elselevel <= 0 && whilelevel <= 0) |
3873 { | |
3874 return OK; | 3873 return OK; |
3875 } | |
3876 } | 3874 } |
3877 } | 3875 } |
3878 return FAIL; | 3876 return FAIL; |
3879 } | 3877 } |
3880 | 3878 |