summaryrefslogtreecommitdiffstats
path: root/lib/libz/infback.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libz/infback.c')
-rw-r--r--lib/libz/infback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libz/infback.c b/lib/libz/infback.c
index e970998..262f97c7 100644
--- a/lib/libz/infback.c
+++ b/lib/libz/infback.c
@@ -434,8 +434,8 @@ void FAR *out_desc;
}
}
- if (state->mode == BAD)
- break;
+ /* handle error breaks in while */
+ if (state->mode == BAD) break;
/* build code tables */
state->next = state->codes;
OpenPOWER on IntegriCloud