mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
Remove redundant cast to same type
This commit is contained in:
committed by
Rusty Russell
parent
03e2e404f2
commit
b206aed371
@@ -377,7 +377,7 @@ static void json_getroute(struct command *cmd, const char *buffer, const jsmntok
|
|||||||
if (fuzztok &&
|
if (fuzztok &&
|
||||||
!json_tok_double(buffer, fuzztok, &fuzz)) {
|
!json_tok_double(buffer, fuzztok, &fuzz)) {
|
||||||
command_fail(cmd, "'%.*s' is not a valid double",
|
command_fail(cmd, "'%.*s' is not a valid double",
|
||||||
(int)(fuzztok->end - fuzztok->start),
|
fuzztok->end - fuzztok->start,
|
||||||
buffer + fuzztok->start);
|
buffer + fuzztok->start);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user