Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-02-20 13:25:25 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-02-21 20:31:56 +0300
commit3e777653620a9261c35319fae64b3aa0eb83cdd4 (patch)
tree3c71d06b328d78afd429e9ab0529b29efcab7261 /extern/audaspace/src
parent1fb62d1272db477277534c5d31ce220afd100637 (diff)
Audaspace: Various fixes
- Fixed uninitialized result used in DynamicMusic::seek(). The comment to this function says false is returned if the handle is invalid, while in practice non-initialized value will be returned. - Spelling typos in comment. - Silence -Wdelete-non-abstract-non-virtual-dtor warning. Differential Revision: https://developer.blender.org/D6896
Diffstat (limited to 'extern/audaspace/src')
-rw-r--r--extern/audaspace/src/fx/DynamicMusic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/audaspace/src/fx/DynamicMusic.cpp b/extern/audaspace/src/fx/DynamicMusic.cpp
index c682108378f..b8f5c975b3f 100644
--- a/extern/audaspace/src/fx/DynamicMusic.cpp
+++ b/extern/audaspace/src/fx/DynamicMusic.cpp
@@ -171,7 +171,7 @@ bool DynamicMusic::pause()
bool DynamicMusic::seek(float position)
{
- bool result;
+ bool result = false;
if(m_currentHandle != nullptr)
{