This is an automated email from the ASF dual-hosted git repository.
gabriellee 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 8d0b9949932 [minor](compile) Fix compiling in debug mode (#36838)
8d0b9949932 is described below
commit 8d0b9949932abae4c22e193839cbc4f83aa57570
Author: Gabriel <[email protected]>
AuthorDate: Wed Jun 26 11:10:57 2024 +0800
[minor](compile) Fix compiling in debug mode (#36838)
```
/mnt/disk1/gabriel/Workspace/dev3/doris/be/src/agent/utils.cpp:92:39:
error: unused exception parameter 'e' [-Werror,-Wunused-exception-parameter]
} catch (TTransportException& e) {
^
1 error generated.
```
---
be/src/agent/utils.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/agent/utils.cpp b/be/src/agent/utils.cpp
index 6038733e769..71e7aedbc35 100644
--- a/be/src/agent/utils.cpp
+++ b/be/src/agent/utils.cpp
@@ -89,7 +89,7 @@ Status MasterServerClient::finish_task(const
TFinishTaskRequest& request, TMaste
try {
try {
client->finishTask(*result, request);
- } catch (TTransportException& e) {
+ } catch ([[maybe_unused]] TTransportException& e) {
#ifdef ADDRESS_SANITIZER
LOG(WARNING) << "master client, retry finishTask: " << e.what();
#endif
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]