From 4bd83a409ea7c95d1349d5a96c617d0ba6537af1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 14 Aug 2007 10:49:29 +0000 Subject: [PATCH] Fix segfault due to uninitialised variable git-svn-id: svn://localhost/ardour2/trunk@2299 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/automation_event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)