From 9b3470eabd12216d22a1f4723670cc987f0a2996 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 3 May 2016 23:46:56 +0200 Subject: [PATCH] lib/xiph/OggStream: use C++11 initializer --- src/lib/xiph/OggStream.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/xiph/OggStream.hxx b/src/lib/xiph/OggStream.hxx index 49559eb06..b99de301a 100644 --- a/src/lib/xiph/OggStream.hxx +++ b/src/lib/xiph/OggStream.hxx @@ -34,12 +34,11 @@ class OggStream { bool flush; #ifndef NDEBUG - bool initialized; + bool initialized = false; #endif public: #ifndef NDEBUG - OggStream():initialized(false) {} ~OggStream() { assert(!initialized); }