commit | 0dab326103aa5ec7f2e8424e3d6e6b0a02149e4b | [log] [tgz] |
---|---|---|
author | Steven Moreland <[email protected]> | Thu Oct 05 16:52:29 2017 -0700 |
committer | Steven Moreland <[email protected]> | Thu Oct 05 16:53:07 2017 -0700 |
tree | 424571b7ab6a0fd68aabd16cf43078a2381d78be | |
parent | 0109873dcaf0a416960fb2d6d4b99029b25047f0 [diff] |
Initialize uninitialized var in SynchronizedQueue. Test: pass Change-Id: I42f9c08f7bb6501fa5dea6bc92a1864386442f2b
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>