Skip to content

Commit

Permalink
Merge pull request #5137 from cakebaker/seq_remove_unused_param
Browse files Browse the repository at this point in the history
seq: remove unused param from write_value_float()
  • Loading branch information
cakebaker authored Aug 8, 2023
2 parents 2b69803 + 6b1c4d1 commit f62535a
Showing 1 changed file with 1 addition and 8 deletions.
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

0 comments on commit f62535a

Please sign in to comment.