From 8e5394f8b17dac7cb1b1d803e6c44f678458f33f Mon Sep 17 00:00:00 2001 From: Wojtek Date: Tue, 9 Dec 2025 13:18:46 +0100 Subject: [PATCH] compile fix --- src/dbzero/bindings/python/PyInternalAPI.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/dbzero/bindings/python/PyInternalAPI.cpp b/src/dbzero/bindings/python/PyInternalAPI.cpp index 8a8df3d1..c4b29c69 100644 --- a/src/dbzero/bindings/python/PyInternalAPI.cpp +++ b/src/dbzero/bindings/python/PyInternalAPI.cpp @@ -1040,9 +1040,6 @@ namespace db0::python auto result = Py_OWN(tryCopyPrefixImpl(*storage, output_file_name, page_io_step_size, meta_io_step_size)); storage->close(); return result.steal(); - if (!result) { - return nullptr; - } } catch (...) { if (storage) { storage->close();