commit | 2019e836c606219397a70076d569184f84def905 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Wed May 18 14:36:58 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Wed May 18 14:36:58 2016 -0700 |
tree | d7a78e21069da4521c916784928b69ff595d52d6 | |
parent | 5767273e98eb1a17827f0eb95612fb3fb4d6f12c [diff] |
Fix misc-macro-parentheses warnings in simpleperf. Bug: 28705665 Change-Id: I0521602cbca7eb3d2e242771da697dfab3fc727f
diff --git a/simpleperf/dwarf_unwind.cpp b/simpleperf/dwarf_unwind.cpp index 10baeb6..ff3c1fe 100644 --- a/simpleperf/dwarf_unwind.cpp +++ b/simpleperf/dwarf_unwind.cpp
@@ -27,7 +27,7 @@ do { \ uint64_t value; \ if (GetRegValue(regs, perf_regno, &value)) { \ - dst = value; \ + (dst) = value; \ } \ } while (0)