aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-10-01 22:06:31 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-10-01 22:06:31 +0300
commited633f19bdbb66ac12aaf66cf46b458558eaedbd (patch)
treebcba698970b3e66c79e61c9b376d172a74577d29 /profile.c
parentdb0190d23e173d1869906385d00f3cbc01559b72 (diff)
downloadegawk-ed633f19bdbb66ac12aaf66cf46b458558eaedbd.tar.gz
egawk-ed633f19bdbb66ac12aaf66cf46b458558eaedbd.tar.bz2
egawk-ed633f19bdbb66ac12aaf66cf46b458558eaedbd.zip
Some cleanups and doc additions.
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/profile.c b/profile.c
index ddb9c357..0a137e29 100644
--- a/profile.c
+++ b/profile.c
@@ -101,11 +101,12 @@ indent(long count)
{
int i;
- if (do_profile)
+ if (do_profile) {
if (count == 0)
fprintf(prof_fp, "\t");
else
fprintf(prof_fp, "%6ld ", count);
+ }
assert(indent_level >= 0);
for (i = 0; i < indent_level; i++)