From 43c42d05b464e6b8c1057c1ee6043a3e7cec3c46 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Mon, 10 Jun 2024 14:26:54 -0600 Subject: [PATCH] remove in_ptr --- core/src/parquet/read/values.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/src/parquet/read/values.rs b/core/src/parquet/read/values.rs index d94bc40e0..6787131fc 100644 --- a/core/src/parquet/read/values.rs +++ b/core/src/parquet/read/values.rs @@ -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 { @@ -466,7 +464,6 @@ macro_rules! make_int_variant_impl { src_offset += 4; dst_offset += $type_size; } - in_ptr = in_ptr.offset(32); } }