summaryrefslogtreecommitdiff
path: root/libs/ardour/crossfade.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-19 18:16:50 +0000
committerDavid Robillard <d@drobilla.net>2008-09-19 18:16:50 +0000
commitf201dc3e3c06f888f097ed6d378a597e99e244fd (patch)
tree01502833cdf1e36eb164e2114574871387f0150b /libs/ardour/crossfade.cc
parent48a8363080c0b9c79ace0b0b70943ed4ce074d26 (diff)
Fix a bunch of stupid warnings.
Q: What's a lot harder than initializing a variable? A: Fixing future non-deterministic bugs that would have been deterministic if you initialized the damn variable :) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3767 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/crossfade.cc')
-rw-r--r--libs/ardour/crossfade.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/crossfade.cc b/libs/ardour/crossfade.cc
index f2641a43e2..e73d79a553 100644
--- a/libs/ardour/crossfade.cc
+++ b/libs/ardour/crossfade.cc
@@ -821,7 +821,7 @@ Crossfade::set_follow_overlap (bool yn)
nframes_t
Crossfade::set_length (nframes_t len)
{
- nframes_t limit;
+ nframes_t limit = 0;
switch (_anchor_point) {
case StartOfIn: