diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2013-01-11 11:02:40 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2013-01-11 11:02:40 +0000 |
commit | 175e6407c9d5f8bd0f36abd9c020e3888134ebd3 (patch) | |
tree | ff206695c81e0f9e68d3c4c47dd76a1dfd597a6a /lib/tsan/rtl/tsan_rtl_report.cc | |
parent | 312de6a1ac31d295d5ae592084e605b03661acdb (diff) | |
download | compiler-rt-175e6407c9d5f8bd0f36abd9c020e3888134ebd3.tar.gz compiler-rt-175e6407c9d5f8bd0f36abd9c020e3888134ebd3.tar.bz2 compiler-rt-175e6407c9d5f8bd0f36abd9c020e3888134ebd3.tar.xz |
tsan: fix compiler warning
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/rtl/tsan_rtl_report.cc')
-rw-r--r-- | lib/tsan/rtl/tsan_rtl_report.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tsan/rtl/tsan_rtl_report.cc b/lib/tsan/rtl/tsan_rtl_report.cc index 65cf7868..b7b3b4a5 100644 --- a/lib/tsan/rtl/tsan_rtl_report.cc +++ b/lib/tsan/rtl/tsan_rtl_report.cc @@ -375,7 +375,7 @@ static bool HandleRacyStacks(ThreadState *thr, const StackTrace (&traces)[2], uptr addr_min, uptr addr_max) { Context *ctx = CTX(); bool equal_stack = false; - RacyStacks hash = {}; + RacyStacks hash; if (flags()->suppress_equal_stacks) { hash.hash[0] = md5_hash(traces[0].Begin(), traces[0].Size() * sizeof(uptr)); hash.hash[1] = md5_hash(traces[1].Begin(), traces[1].Size() * sizeof(uptr)); |