diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-07-07 15:42:48 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-07-07 15:42:48 +0300 |
commit | 4cd70811e7e335fe568f62c564ac2bef0515694f (patch) | |
tree | 18c56e091b3ffd276d8c64b7cb9f4615ba86dfc0 /builtin.c | |
parent | 6f10e610abfc6cdd68147ad817edd50440ed38ab (diff) | |
download | egawk-4cd70811e7e335fe568f62c564ac2bef0515694f.tar.gz egawk-4cd70811e7e335fe568f62c564ac2bef0515694f.tar.bz2 egawk-4cd70811e7e335fe568f62c564ac2bef0515694f.zip |
Fix GCC 7.1 warnings (incrementing/decrementing booleans).
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -943,7 +943,7 @@ check_pos: *cur = get_number_si(arg); if (*cur < 0 && cur == &fw) { *cur = -*cur; - lj++; + lj = true; } if (cur == &prec) { if (*cur >= 0) @@ -970,7 +970,7 @@ check_pos: goto retry; } fill = sp; /* if left justified then other */ - lj++; /* filling is ignored */ + lj = true; /* filling is ignored */ goto check_pos; case '.': if (cur != &fw) |