Skip to content

Commit bd47f51

Browse files
committed
Add missing return value
1 parent 5142ac3 commit bd47f51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/src/arrow/io/io-file-test.cc

+1
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ class MyMemoryPool : public MemoryPool {
293293
void Free(uint8_t* buffer, int64_t size) override { std::free(buffer); }
294294
Status Reallocate(int64_t old_size, int64_t new_size, uint8_t** ptr) override {
295295
*ptr = reinterpret_cast<uint8_t*>(std::realloc(*ptr, new_size));
296+
return Status::OK();
296297
}
297298

298299
int64_t bytes_allocated() const override { return -1; }

0 commit comments

Comments
 (0)