Permalink
Browse files

Eliminate pointless return value

  • Loading branch information...
bsdphk committed Nov 6, 2018
1 parent 3ef62a6 commit a2392eb721e850e7205fc077e56b3675673f74b2
Showing with 1 addition and 2 deletions.
  1. +1 −2 bin/varnishd/http2/cache_http2_deliver.c
@@ -171,7 +171,7 @@ h2_minimal_response(struct req *req, uint16_t status)
return (0);
}
static int
static void
h2_enc_len(struct vsb *vsb, unsigned bits, unsigned val, uint8_t b0)
{
assert(bits < 8);
@@ -186,7 +186,6 @@ h2_enc_len(struct vsb *vsb, unsigned bits, unsigned val, uint8_t b0)
}
}
VSB_putc(vsb, (uint8_t)val);
return (0);
}
/*

0 comments on commit a2392eb

Please sign in to comment.