This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 20d6698c27a [bugfix](arm compile) could not compile on arm because 
-Werror=maybe-uninitialized
20d6698c27a is described below

commit 20d6698c27a78f88183241ea0674efbc27039886
Author: yiguolei <yiguo...@gmail.com>
AuthorDate: Thu Mar 14 12:11:12 2024 +0800

    [bugfix](arm compile) could not compile on arm because 
-Werror=maybe-uninitialized
---
 be/src/vec/runtime/ipv4_value.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/vec/runtime/ipv4_value.h b/be/src/vec/runtime/ipv4_value.h
index 2a5a5ae91ef..9fd53afd4c7 100644
--- a/be/src/vec/runtime/ipv4_value.h
+++ b/be/src/vec/runtime/ipv4_value.h
@@ -48,7 +48,7 @@ public:
         if (len == 0) {
             return false;
         }
-        int64_t parse_value;
+        int64_t parse_value = 0;
         size_t begin = 0;
         size_t end = len - 1;
         while (begin < len && std::isspace(ipv4_str[begin])) {
@@ -83,7 +83,7 @@ public:
         if (len == 0) {
             return false;
         }
-        int64_t parse_value;
+        int64_t parse_value = 0;
         size_t begin = 0;
         size_t end = len - 1;
         while (begin < len && std::isspace(ipv4_str[begin])) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to