Browse Source

Remove redundant cast to same type

ppa-0.6.1
practicalswift 7 years ago
committed by Rusty Russell
parent
commit
b206aed371
  1. 2
      lightningd/gossip_control.c

2
lightningd/gossip_control.c

@ -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;
} }

Loading…
Cancel
Save