[PATCH 4/5] trimmanager.cpp: initialize TrimManager::m_render
Mikko Rapeli
mikko.rapeli at iki.fi
Wed Jan 11 07:31:00 UTC 2017
Fixes cppcheck warning:
[src/timeline/managers/trimmanager.cpp:30]: (warning) Member variable 'TrimManager::m_render' is not initialized in the constructor.
Signed-off-by: Mikko Rapeli <mikko.rapeli at iki.fi>
---
src/timeline/managers/trimmanager.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/timeline/managers/trimmanager.cpp b/src/timeline/managers/trimmanager.cpp
index cfec62f..8888a19 100644
--- a/src/timeline/managers/trimmanager.cpp
+++ b/src/timeline/managers/trimmanager.cpp
@@ -34,6 +34,7 @@ TrimManager::TrimManager(CustomTrackView *view, DocUndoStack *commandStack) : Ab
, m_rippleIndex(0)
, m_trimPlaylist(nullptr)
, trimChanged(false)
+ , m_render(nullptr)
{
}
--
2.10.2
More information about the kdenlive
mailing list