test: remove ‘nread’, which is not used

PR-URL: https://github.com/nodejs/http-parser/pull/300
Reviewed-By: Fedor Indutny <fedor@indutny.com>
make-http-max-header-size-gyp-configurable
Guo Xiao 9 years ago committed by Fedor Indutny
parent 737627b2b2
commit b2cc8e49f3

@ -3850,11 +3850,10 @@ test_message_connect (const struct message *msg)
{
char *buf = (char*) msg->raw;
size_t buflen = strlen(msg->raw);
size_t nread;
parser_init(msg->type);
nread = parse_connect(buf, buflen);
parse_connect(buf, buflen);
if (num_messages != 1) {
printf("\n*** num_messages != 1 after testing '%s' ***\n\n", msg->name);

Loading…
Cancel
Save