Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
willemt committed Nov 18, 2015
1 parent 72e8f24 commit 7690b4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/mock_send_functions.c
Expand Up @@ -52,8 +52,7 @@ static int __append_msg(
raft_server_t* raft
)
{
msg_t* m;
m = malloc(sizeof(msg_t));
msg_t* m = malloc(sizeof(msg_t));
m->type = type;
m->len = len;
m->data = malloc(len);
Expand Down

0 comments on commit 7690b4b

Please sign in to comment.