Commit face33b7 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix a unused value (when not debugging) spotted by Coverity

parent a9b04493
...@@ -582,14 +582,11 @@ VEP_Parse(struct vep_state *vep, const char *p, size_t l) ...@@ -582,14 +582,11 @@ VEP_Parse(struct vep_state *vep, const char *p, size_t l)
while (p < e) { while (p < e) {
AN(vep->state); AN(vep->state);
i = e - p;
if (i > 10)
i = 10;
Debug("EP %s %d (%.*s) [%.*s]\n", Debug("EP %s %d (%.*s) [%.*s]\n",
vep->state, vep->state,
vep->remove, vep->remove,
vep->tag_i, vep->tag, vep->tag_i, vep->tag,
i, p); (e - p) > 10 ? 10 : (int)(e-p), p);
assert(p >= vep->ver_p); assert(p >= vep->ver_p);
/****************************************************** /******************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment