Skip to content

Commit

Permalink
client: [allow(unused_variables)] in one helper
Browse files Browse the repository at this point in the history
Because of conditional compilation we get warnings here on !fedora;
silence that.
  • Loading branch information
cgwalters committed Mar 8, 2024
1 parent cc79924 commit 998c850
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ pub(crate) fn is_src_rpm_arg(arg: &str) -> bool {
/// descriptors for the content.
/// TODO(cxx-rs): This would be slightly more elegant as Result<Option<Vec<i32>>>
#[context("Handling argument {}", arg)]
#[allow(unused_variables)] // Because of the #[cfg] below
pub(crate) fn client_handle_fd_argument(
arg: &str,
arch: &str,
Expand Down

0 comments on commit 998c850

Please sign in to comment.