aboutsummaryrefslogtreecommitdiff
path: root/src/gie.c
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-05-07 22:00:44 +0200
committerKristian Evers <kristianevers@gmail.com>2018-05-07 22:00:44 +0200
commit2c5d2521b7e6c45e8dab44aa547c44d20925858f (patch)
tree0e42895b9c2bceb463c2921f3eb4fb2c2908754d /src/gie.c
parent11bfb050e4712c6b320b8a1256a36a66c60359c0 (diff)
downloadPROJ-2c5d2521b7e6c45e8dab44aa547c44d20925858f.tar.gz
PROJ-2c5d2521b7e6c45e8dab44aa547c44d20925858f.zip
Clean readability-misleading-indentation clang-tidy warnings
Diffstat (limited to 'src/gie.c')
-rw-r--r--src/gie.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/gie.c b/src/gie.c
index b912a3ac..17f2cca0 100644
--- a/src/gie.c
+++ b/src/gie.c
@@ -303,9 +303,11 @@ int main (int argc, char **argv) {
process_file (o->fargv[i]);
if (T.verbosity > 0) {
- if (o->fargc > 1)
- fprintf (T.fout, "%sGrand total: %d. Success: %d, Skipped: %d, Failure: %d\n",
- delim, T.grand_ok+T.grand_ko+T.grand_skip, T.grand_ok, T.grand_skip, T.grand_ko);
+ if (o->fargc > 1) {
+ fprintf (T.fout, "%sGrand total: %d. Success: %d, Skipped: %d, Failure: %d\n",
+ delim, T.grand_ok+T.grand_ko+T.grand_skip, T.grand_ok, T.grand_skip,
+ T.grand_ko);
+ }
fprintf (T.fout, "%s", delim);
if (T.verbosity > 1) {
fprintf (T.fout, "Failing roundtrips: %4d, Succeeding roundtrips: %4d\n", fail_rtps, succ_rtps);
@@ -414,10 +416,11 @@ static int process_file (const char *fname) {
T.grand_ok += T.total_ok;
T.grand_ko += T.total_ko;
T.grand_skip += T.grand_skip;
- if (T.verbosity > 0)
- fprintf (T.fout, "%stotal: %2d tests succeeded, %2d tests skipped, %2d tests %s\n",
- delim, T.total_ok, T.total_skip, T.total_ko, T.total_ko? "FAILED!": "failed.");
-
+ if (T.verbosity > 0) {
+ fprintf (T.fout, "%stotal: %2d tests succeeded, %2d tests skipped, %2d tests %s\n",
+ delim, T.total_ok, T.total_skip, T.total_ko,
+ T.total_ko? "FAILED!": "failed.");
+ }
if (F->level==0)
return errmsg (-3, "File '%s':Missing '<gie>' cmnd - bye!\n", fname);
if (F->level && F->level%2)