This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/main by this push:
new 622017533 ORC-1349: [C++] remove useless bufStream definition
622017533 is described below
commit 6220175334657d80dba62e85875a6b675a233fd9
Author: Junwang Zhao <[email protected]>
AuthorDate: Sun Jan 8 23:41:22 2023 -0800
ORC-1349: [C++] remove useless bufStream definition
### What changes were proposed in this pull request?
In `TestByteRLEEncoder.cc`, bufStream was defined but not used, so remove
those useless definitions.
### Why are the changes needed?
the definitions are useless.
### How was this patch tested?
It doesn't introduce new features and passed all test cases.
Closes #1360 from zhjwpku/remove_useless_bufstream.
Authored-by: Junwang Zhao <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
c++/test/TestByteRLEEncoder.cc | 5 -----
1 file changed, 5 deletions(-)
diff --git a/c++/test/TestByteRLEEncoder.cc b/c++/test/TestByteRLEEncoder.cc
index 0cc414a12..837c6d06f 100644
--- a/c++/test/TestByteRLEEncoder.cc
+++ b/c++/test/TestByteRLEEncoder.cc
@@ -105,7 +105,6 @@ namespace orc {
uint64_t capacity = 500 * 1024;
uint64_t block = 1024;
- BufferedOutputStream bufStream(*pool, &memStream, capacity, block,
nullptr);
auto outStream =
std::make_unique<BufferedOutputStream>(*pool, &memStream, capacity,
block, nullptr);
@@ -127,7 +126,6 @@ namespace orc {
uint64_t capacity = 500 * 1024;
uint64_t block = 1024;
- BufferedOutputStream bufStream(*pool, &memStream, capacity, block,
nullptr);
auto outStream =
std::make_unique<BufferedOutputStream>(*pool, &memStream, capacity,
block, nullptr);
@@ -151,7 +149,6 @@ namespace orc {
uint64_t capacity = 500 * 1024;
uint64_t block = 1024;
- BufferedOutputStream bufStream(*pool, &memStream, capacity, block,
nullptr);
auto outStream =
std::make_unique<BufferedOutputStream>(*pool, &memStream, capacity,
block, nullptr);
@@ -173,7 +170,6 @@ namespace orc {
uint64_t capacity = 500 * 1024;
uint64_t block = 1024;
- BufferedOutputStream bufStream(*pool, &memStream, capacity, block,
nullptr);
auto outStream =
std::make_unique<BufferedOutputStream>(*pool, &memStream, capacity,
block, nullptr);
@@ -195,7 +191,6 @@ namespace orc {
uint64_t capacity = 500 * 1024;
uint64_t block = 1024;
- BufferedOutputStream bufStream(*pool, &memStream, capacity, block,
nullptr);
auto outStream =
std::make_unique<BufferedOutputStream>(*pool, &memStream, capacity,
block, nullptr);