Skip to content

Commit

Permalink
added warnings silencers
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethdsheridan committed Nov 6, 2024
1 parent 73b6bad commit 31d1b53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Binary file modified build/release/hardware_report-linux-x86_64
Binary file not shown.
8 changes: 7 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ use serde::{Deserialize, Serialize};
use std::collections::{HashMap, HashSet};
use std::error::Error;
use std::process::Command;
use toml;

/// CPU topology information
#[derive(Debug, Serialize, Deserialize)]
Expand Down Expand Up @@ -263,10 +262,17 @@ struct IbInterface {
rate: String,
}

#[allow(dead_code)]
struct NumaInfo {
nodes: Vec<NumaNode>,
}

#[allow(unused_variables)]
#[allow(unused_assignments)]
#[allow(clippy::useless_format)]
#[allow(clippy::manual_map)]
#[allow(clippy::format_in_format_args)]
#[allow(clippy::needless_borrows_for_generic_args)]
impl ServerInfo {
/// Checks for required system dependencies and returns any missing ones
fn check_dependencies() -> Result<Vec<&'static str>, Box<dyn Error>> {
Expand Down

0 comments on commit 31d1b53

Please sign in to comment.