Skip to content

Commit

Permalink
Ignore dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimach committed Jul 25, 2024
1 parent 824785f commit 59904f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,27 +133,31 @@ impl Decode for EventType {
}

#[derive(Decode, Copy, Clone, Debug)]
#[allow(dead_code)]
pub struct EventZoneBegin {
pub thread_id: u32,
pub source_location: u32,
pub timestamp: u64,
}

#[derive(Decode, Copy, Clone, Debug)]
#[allow(dead_code)]
pub struct EventZoneEnd {
pub thread_id: u32,
_padding: u32,
pub timestamp: u64,
}

#[derive(Decode, Copy, Clone, Debug)]
#[allow(dead_code)]
pub struct EventZoneColor {
pub thread_id: u32,
pub color: [u8; 4],
pub padding: u64,
}

#[derive(Decode, Copy, Clone, Debug)]
#[allow(dead_code)]
pub struct EventFrameMark {
pub name: u32,
_padding: u32,
Expand Down Expand Up @@ -226,6 +230,7 @@ pub struct NetworkHeader {
}

#[derive(Decode, Debug)]
#[allow(dead_code)]
pub struct NetworkQuery {
pub query_type: ServerQueryType,
pub pointer: u64,
Expand Down

0 comments on commit 59904f8

Please sign in to comment.