Skip to content

Commit

Permalink
🚨 fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
leozz37 committed Nov 18, 2020
1 parent 9ed4f3b commit c521404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn parse_arguments(matches: clap::ArgMatches) {
}
else if matches.is_present("send") {
let data = matches.value_of("data").unwrap_or("test");
send(hostname, port, data);
let _ = send(hostname, port, data);
}
else {
ping(hostname, port);
Expand Down

0 comments on commit c521404

Please sign in to comment.