Skip to content

Commit

Permalink
silence warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
SludgePhD committed Jul 25, 2024
1 parent 2d1e4b3 commit 956d175
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ ffi_enum! {
}
}

#[allow(dead_code)]
#[repr(C)]
pub struct SurfaceDecodeMBErrors {
status: i32,
Expand Down
3 changes: 3 additions & 0 deletions src/vpp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ impl Filters {
}
}

#[allow(dead_code)]
#[derive(Clone, Copy)]
#[repr(C)]
pub struct FilterValueRange {
Expand All @@ -560,12 +561,14 @@ pub struct BlendState {
max_luma: f32,
}

#[allow(dead_code)]
#[derive(Clone, Copy)]
#[repr(C)]
pub struct FilterParameterBufferBase {
type_: FilterType,
}

#[allow(dead_code)]
#[derive(Clone, Copy)]
#[repr(C)]
pub struct FilterParameterBuffer {
Expand Down

0 comments on commit 956d175

Please sign in to comment.