aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-10-10 21:53:13 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-10-10 21:53:13 +0200
commit0cf50ae4c064bd2d8960ffd1e14f97402b8f5157 (patch)
tree8c78e943bad2fd68bc7abf2d1d10bf193e37e941 /eval.c
parent35d9ad9209592594905d1c8f15130d09af111411 (diff)
downloadegawk-0cf50ae4c064bd2d8960ffd1e14f97402b8f5157.tar.gz
egawk-0cf50ae4c064bd2d8960ffd1e14f97402b8f5157.tar.bz2
egawk-0cf50ae4c064bd2d8960ffd1e14f97402b8f5157.zip
Remove some compile time warnings.
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index df9570e3..cd5a5844 100644
--- a/eval.c
+++ b/eval.c
@@ -1418,7 +1418,7 @@ unwind_stack(long n)
if (stack_ptr < sp)
return NULL;
- while (r = POP()) {
+ while ((r = POP()) != NULL) {
switch (r->type) {
case Node_frame:
cp = restore_frame(r);