You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2020/01/08 06:55:23 UTC
[impala] branch master updated: IMPALA-9278 Fix error:expected primary-expression before ‘return’
This is an automated email from the ASF dual-hosted git repository.
tarmstrong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
The following commit(s) were added to refs/heads/master by this push:
new 597285a IMPALA-9278 Fix error:expected primary-expression before ‘return’
597285a is described below
commit 597285a1cd9cce00ddac4b461df70f6ef3d8e4d8
Author: huangtianhua <hu...@gmail.com>
AuthorDate: Mon Jan 6 10:06:11 2020 +0000
IMPALA-9278 Fix error:expected primary-expression before ‘return’
Change-Id: I8530fe7b59f7fa0c989d0f4a8f91279e203b0cf1
Reviewed-on: http://gerrit.cloudera.org:8080/14978
Reviewed-by: Tim Armstrong <ta...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
be/src/gutil/atomicops-internals-x86.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/gutil/atomicops-internals-x86.h b/be/src/gutil/atomicops-internals-x86.h
index 4d26bff..f9b498e 100644
--- a/be/src/gutil/atomicops-internals-x86.h
+++ b/be/src/gutil/atomicops-internals-x86.h
@@ -410,7 +410,7 @@ inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr,
do {
old_val = *ptr;
- new_val = return impala::ArithmeticUtil::AsUnsigned<std::plus>(old_val, increment);
+ new_val = impala::ArithmeticUtil::AsUnsigned<std::plus>(old_val, increment);
} while (__sync_val_compare_and_swap(ptr, old_val, new_val) != old_val);
return impala::ArithmeticUtil::AsUnsigned<std::plus>(old_val, increment);