diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-08-18 17:52:07 -0400 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-08-18 17:52:07 -0400 |
commit | 2c4956a47393241a33e17fb26f0ecba78b0381bb (patch) | |
tree | e0e54ce188b941982b49a497b21dfd16ebb26ccd /main.c | |
parent | 59e758a8ee45b58c9a765a6ceed4da3775d78952 (diff) | |
download | egawk-2c4956a47393241a33e17fb26f0ecba78b0381bb.tar.gz egawk-2c4956a47393241a33e17fb26f0ecba78b0381bb.tar.bz2 egawk-2c4956a47393241a33e17fb26f0ecba78b0381bb.zip |
Change a variable from int to bool.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -220,7 +220,7 @@ main(int argc, char **argv) { int i; char *extra_stack; - int have_srcfile = 0; + bool have_srcfile = false; SRCFILE *s; char *cp; #if defined(LOCALEDEBUG) @@ -443,7 +443,7 @@ main(int argc, char **argv) if (s->stype == SRC_EXTLIB) load_ext(s->fullpath); else if (s->stype != SRC_INC) - have_srcfile++; + have_srcfile = true; } /* do version check after extensions are loaded to get extension info */ |