Skip to content

Commit

Permalink
remove in_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Jun 10, 2024
1 parent 58047d5 commit 43c42d0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/src/parquet/read/values.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,6 @@ macro_rules! make_int_variant_impl {
let mut dst_offset = dst.num_values * $type_size;

let mut i = 0;
let mut in_ptr = &src_data[src_offset..] as *const [u8] as *const u8 as *const u32;

while num - i >= 32 {
unsafe {
for _ in 0..32 {
Expand All @@ -466,7 +464,6 @@ macro_rules! make_int_variant_impl {
src_offset += 4;
dst_offset += $type_size;
}
in_ptr = in_ptr.offset(32);
}
}

Expand Down

0 comments on commit 43c42d0

Please sign in to comment.