diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2018-05-07 22:00:44 +0200 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2018-05-07 22:00:44 +0200 |
| commit | 2c5d2521b7e6c45e8dab44aa547c44d20925858f (patch) | |
| tree | 0e42895b9c2bceb463c2921f3eb4fb2c2908754d /src | |
| parent | 11bfb050e4712c6b320b8a1256a36a66c60359c0 (diff) | |
| download | PROJ-2c5d2521b7e6c45e8dab44aa547c44d20925858f.tar.gz PROJ-2c5d2521b7e6c45e8dab44aa547c44d20925858f.zip | |
Clean readability-misleading-indentation clang-tidy warnings
Diffstat (limited to 'src')
| -rw-r--r-- | src/PJ_omerc.c | 4 | ||||
| -rw-r--r-- | src/gie.c | 17 |
2 files changed, 12 insertions, 9 deletions
diff --git a/src/PJ_omerc.c b/src/PJ_omerc.c index 1e80b4ca..32bf5c14 100644 --- a/src/PJ_omerc.c +++ b/src/PJ_omerc.c @@ -124,9 +124,9 @@ PJ *PROJECTION(omerc) { Q->no_rot = pj_param(P->ctx, P->params, "bno_rot").i; if ((alp = pj_param(P->ctx, P->params, "talpha").i) != 0) - alpha_c = pj_param(P->ctx, P->params, "ralpha").f; + alpha_c = pj_param(P->ctx, P->params, "ralpha").f; if ((gam = pj_param(P->ctx, P->params, "tgamma").i) != 0) - gamma = pj_param(P->ctx, P->params, "rgamma").f; + gamma = pj_param(P->ctx, P->params, "rgamma").f; if (alp || gam) { lamc = pj_param(P->ctx, P->params, "rlonc").f; no_off = @@ -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) |
