diff --git a/spatial/src/spatial/gdal/file_handler.cpp b/spatial/src/spatial/gdal/file_handler.cpp index 2111de00..bde8661b 100644 --- a/spatial/src/spatial/gdal/file_handler.cpp +++ b/spatial/src/spatial/gdal/file_handler.cpp @@ -24,7 +24,7 @@ class DuckDBFileHandle : public VSIVirtualHandle { bool is_eof; public: - explicit DuckDBFileHandle(unique_ptr file_handle_p) : file_handle(std::move(file_handle_p)) { + explicit DuckDBFileHandle(unique_ptr file_handle_p) : file_handle(std::move(file_handle_p)), is_eof(false) { } vsi_l_offset Tell() override {