Skip to content

Commit

Permalink
Remove redundant cast to same type
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalswift authored and rustyrussell committed Mar 16, 2018
1 parent 03e2e40 commit b206aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightningd/gossip_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ static void json_getroute(struct command *cmd, const char *buffer, const jsmntok
if (fuzztok &&
!json_tok_double(buffer, fuzztok, &fuzz)) {
command_fail(cmd, "'%.*s' is not a valid double",
(int)(fuzztok->end - fuzztok->start),
fuzztok->end - fuzztok->start,
buffer + fuzztok->start);
return;
}
Expand Down

0 comments on commit b206aed

Please sign in to comment.