Commit 608cb0c4 authored by Nils Goroll's avatar Nils Goroll

remove an unnecessary variable

parent 12cd7281
...@@ -605,7 +605,6 @@ vesico_to_http0(struct sess *sp, struct vmod_priv *priv, enum gethdr_e where, ...@@ -605,7 +605,6 @@ vesico_to_http0(struct sess *sp, struct vmod_priv *priv, enum gethdr_e where,
int used; int used;
unsigned ret; unsigned ret;
const char *err;
cs.used = 0; cs.used = 0;
...@@ -668,11 +667,7 @@ vesico_to_http0(struct sess *sp, struct vmod_priv *priv, enum gethdr_e where, ...@@ -668,11 +667,7 @@ vesico_to_http0(struct sess *sp, struct vmod_priv *priv, enum gethdr_e where,
if (used == cs.used) if (used == cs.used)
return NULL; return NULL;
err = vesico_write_cookie_hdr(sp, m, h0, &cookies); return (vesico_write_cookie_hdr(sp, m, h0, &cookies));
if (err)
return (err);
return NULL;
} }
const char * __match_proto__() const char * __match_proto__()
......
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