Skip to content

Commit

Permalink
Merge pull request #5931 from cakebaker/ls_fix_unused_variable_warnin…
Browse files Browse the repository at this point in the history
…g_on_redox

ls: fix "unused variable" warning on Redox
  • Loading branch information
sylvestre authored Feb 2, 2024
2 parents 4a7dfa7 + 47843dc commit f347168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uu/ls/src/ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2935,7 +2935,7 @@ fn display_group(metadata: &Metadata, config: &Config) -> String {
}

#[cfg(target_os = "redox")]
fn display_group(metadata: &Metadata, config: &Config) -> String {
fn display_group(metadata: &Metadata, _config: &Config) -> String {
metadata.gid().to_string()
}

Expand Down

0 comments on commit f347168

Please sign in to comment.