summaryrefslogtreecommitdiff
path: root/builtin.c
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2016-06-30 09:59:47 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2016-06-30 09:59:47 -0400
commit92b5353bf364897f02003c4116cabe6d48ea17eb (patch)
tree3a942f5608c3065f49fa175ef688316e04daacc9 /builtin.c
parent2ab2d5f2c468b647615d984cb7953217c63695af (diff)
downloadgawk-92b5353bf364897f02003c4116cabe6d48ea17eb.tar.gz
Use new STFMT_UNUSED define to improve code clarity, and fix some minor stfmt issues.
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin.c b/builtin.c
index 24f585e0..92ac9e49 100644
--- a/builtin.c
+++ b/builtin.c
@@ -2204,7 +2204,7 @@ do_print(int nargs, int redirtype)
if (tmp->type == Node_typedregex)
args_array[i] = force_string(tmp);
else if (!((tmp->flags & STRCUR) != 0
- && (tmp->stfmt == -1 || tmp->stfmt == OFMTidx)))
+ && (tmp->stfmt == STFMT_UNUSED || tmp->stfmt == OFMTidx)))
args_array[i] = format_val(OFMT, OFMTidx, tmp);
}