commit | c20a611426dcea0b538d5f3d328d14a8c013229d | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Oct 06 15:25:42 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Fri Oct 06 15:25:42 2017 +0000 |
tree | 5583cd66c971620ff5bdcc0b534e9afc5b519274 | |
parent | 510d200b07e3250596a2927847abe5ee4e85aa7b [diff] | |
parent | 0dab326103aa5ec7f2e8424e3d6e6b0a02149e4b [diff] |
Initialize uninitialized var in SynchronizedQueue. am: 0dab326103 Change-Id: Ifab9ba27e199bca87c12503f48533d1c7f3efa0f
diff --git a/base/SynchronizedQueue.h b/base/SynchronizedQueue.h index 0ef9e4f..356c72c 100644 --- a/base/SynchronizedQueue.h +++ b/base/SynchronizedQueue.h
@@ -61,7 +61,7 @@ std::mutex mMutex; std::queue<T> mQueue; const size_t mQueueLimit; - bool mInitialized; + bool mInitialized = false; }; template <typename T>