summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2007-08-14 10:49:29 +0000
committerCarl Hetherington <carl@carlh.net>2007-08-14 10:49:29 +0000
commit4bd83a409ea7c95d1349d5a96c617d0ba6537af1 (patch)
tree53d22c7c9b8d8c1cbb12d933efed351d6c62b79c
parente0eb5fd33553eeb5b3d2b0c5e11be539391281bb (diff)
Fix segfault due to uninitialised variable
git-svn-id: svn://localhost/ardour2/trunk@2299 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--libs/ardour/ardour/automation_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/automation_event.h b/libs/ardour/ardour/automation_event.h
index ae479ecafe..7532ede603 100644
--- a/libs/ardour/ardour/automation_event.h
+++ b/libs/ardour/ardour/automation_event.h
@@ -45,7 +45,7 @@ struct ControlEvent {
}
ControlEvent (const ControlEvent& other)
- : when (other.when), value (other.value) {
+ : when (other.when), value (other.value), coeff (0) {
if (other.coeff) {
create_coeffs();
for (size_t i=0; i < 4; ++i)