This is an automated email from the ASF dual-hosted git repository.
zouxinyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new e0bf621fe0 [chore](build) Fix compilation errors for BE UT (#23535)
e0bf621fe0 is described below
commit e0bf621fe043fd7e9c82bea461ff0e3e5ec9f796
Author: Adonis Ling <[email protected]>
AuthorDate: Sun Aug 27 11:52:13 2023 +0800
[chore](build) Fix compilation errors for BE UT (#23535)
Issue Number: close #23536
This issue was introduced by #23414 .
---
be/test/runtime/load_stream_test.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/be/test/runtime/load_stream_test.cpp
b/be/test/runtime/load_stream_test.cpp
index 55ad13d95d..e3d3868547 100644
--- a/be/test/runtime/load_stream_test.cpp
+++ b/be/test/runtime/load_stream_test.cpp
@@ -361,7 +361,7 @@ public:
cntl->SetFailed("Tablet not found");
status->set_status_code(TStatusCode::NOT_FOUND);
response->set_allocated_status(status.get());
- response->release_status();
+ static_cast<void>(response->release_status());
return;
}
auto resp = response->add_tablet_schemas();
@@ -381,7 +381,7 @@ public:
cntl->SetFailed("Fail to accept stream");
status->set_status_code(TStatusCode::CANCELLED);
response->set_allocated_status(status.get());
- response->release_status();
+ static_cast<void>(response->release_status());
return;
}
@@ -389,7 +389,7 @@ public:
status->set_status_code(TStatusCode::OK);
response->set_allocated_status(status.get());
- response->release_status();
+ static_cast<void>(response->release_status());
}
private:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]