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)
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index 1e10635..af7994c 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -1790,8 +1790,7 @@
if (*regparse == 'n')
startc = (reg_string || emit_range
|| regparse[1] == '-') ? NL : NFA_NEWL;
- else
- if (*regparse == 'd'
+ else if (*regparse == 'd'
|| *regparse == 'o'
|| *regparse == 'x'
|| *regparse == 'u'
@@ -2919,14 +2918,10 @@
}
# else
for (p2 = postfix; p2 < end; p2++)
- {
fprintf(df, "%d, ", *p2);
- }
fprintf(df, "\nCurrent position is: ");
for (p2 = postfix; p2 <= p; p2 ++)
- {
fprintf(df, "%d, ", *p2);
- }
# endif
fprintf(df, "\n--------------------------\n");
fclose(df);