Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seq: remove unused param from write_value_float() #5137

Merged
merged 1 commit into from
Aug 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions src/uu/seq/src/seq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ fn write_value_float(
value: &ExtendedBigDecimal,
width: usize,
precision: usize,
_is_first_iteration: bool,
) -> std::io::Result<()> {
let value_as_str =
if *value == ExtendedBigDecimal::Infinity || *value == ExtendedBigDecimal::MinusInfinity {
Expand Down Expand Up @@ -279,13 +278,7 @@ fn print_seq(
exit(1);
}
}
None => write_value_float(
&mut stdout,
&value,
padding,
largest_dec,
is_first_iteration,
)?,
None => write_value_float(&mut stdout, &value, padding, largest_dec)?,
}
// TODO Implement augmenting addition.
value = value + increment.clone();
Expand Down
Loading