From 434d2730d682ab58f556d3324c0e1633c7972bf7 Mon Sep 17 00:00:00 2001 From: rh101 Date: Mon, 26 Apr 2021 01:05:06 +1000 Subject: [PATCH] Initialise member variable --- cocos/audio/include/AudioDecoderOgg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/audio/include/AudioDecoderOgg.h b/cocos/audio/include/AudioDecoderOgg.h index f837e3ffc4..080c1a81d9 100644 --- a/cocos/audio/include/AudioDecoderOgg.h +++ b/cocos/audio/include/AudioDecoderOgg.h @@ -68,7 +68,7 @@ protected: AudioDecoderOgg(); ~AudioDecoderOgg(); - FileStream* _fileStream; + FileStream* _fileStream = nullptr; OggVorbis_File _vf; friend class AudioDecoderManager;