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

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git

commit 834db150fe9907156cfc5ca6686879e471beb838
Author: Alexey Serbin <ale...@apache.org>
AuthorDate: Wed Jul 31 11:12:41 2024 -0700

    [tools] fix compilation warning
    
    This patch addresses compilation warnings like below (GCC 4.8.5):
    
      src/kudu/tools/tool_action_table.cc:334:24: warning: extra tokens at end 
of #undef directive
           #undef GET_PROPERTY()
                              ^
      src/kudu/tools/tool_action_table.cc:335:28: warning: extra tokens at end 
of #undef directive
           #undef GET_NUM_PROPERTY()
    
    This is a follow-up to d91d5c95dab38770890cac6a30be63f80eb82fec.
    
    Change-Id: I2484aebb5c3334549e9b04957121f556d1120933
    Reviewed-on: http://gerrit.cloudera.org:8080/21625
    Tested-by: Alexey Serbin <ale...@apache.org>
    Reviewed-by: Abhishek Chennaka <achenn...@cloudera.com>
---
 src/kudu/tools/tool_action_table.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/kudu/tools/tool_action_table.cc 
b/src/kudu/tools/tool_action_table.cc
index 21b8c04e8..5c985998b 100644
--- a/src/kudu/tools/tool_action_table.cc
+++ b/src/kudu/tools/tool_action_table.cc
@@ -331,8 +331,8 @@ class TableLister {
             {"live_row_count", GET_NUM_PROPERTY(live_row_count)},
         };
 
-    #undef GET_PROPERTY()
-    #undef GET_NUM_PROPERTY()
+    #undef GET_PROPERTY
+    #undef GET_NUM_PROPERTY
 
     for (const auto& tinfo : tables_info) {
       vector<string> values;

Reply via email to