From 7d98613f28b9db7a1d418dd0555b3f73b7a51ef0 Mon Sep 17 00:00:00 2001 From: Nikhil Sontakke Date: Thu, 14 Dec 2023 15:07:23 +0530 Subject: [PATCH] Remove warning on MacOSx The -Werror,-Wunused-but-set-variable parameters while compiling on MacOSx were causing compilation to fail on CI. Fixed that now. --- tsl/src/compression/compression.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tsl/src/compression/compression.c b/tsl/src/compression/compression.c index 0aa32890083..e3efff1513d 100644 --- a/tsl/src/compression/compression.c +++ b/tsl/src/compression/compression.c @@ -876,7 +876,6 @@ row_compressor_init(CompressionSettings *settings, RowCompressor *row_compressor memset(row_compressor->compressed_is_null, 1, sizeof(bool) * num_columns_in_compressed_table); - int col = 0; for (int i = 0; i < uncompressed_tuple_desc->natts; i++) { Form_pg_attribute attr = TupleDescAttr(uncompressed_tuple_desc, i); @@ -944,7 +943,6 @@ row_compressor_init(CompressionSettings *settings, RowCompressor *row_compressor .max_metadata_attr_offset = -1, }; } - col++; } row_compressor->index_oid =