Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Commit

Permalink
test: remove ‘nread’, which is not used
Browse files Browse the repository at this point in the history
PR-URL: #300
Reviewed-By: Fedor Indutny <[email protected]>
  • Loading branch information
guoxiao authored and indutny committed Jun 23, 2016
1 parent 737627b commit b2cc8e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b2cc8e4

Please sign in to comment.