summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-03 18:24:38 +0000
committerDavid Robillard <d@drobilla.net>2008-10-03 18:24:38 +0000
commitad4919ce920a1a588c9ecd3d822dacfb93d74bb7 (patch)
treef9636723272d7b06635aa2f1323a4ba3a614fb2c /gtk2_ardour/editor.cc
parent21c4721a68d42b05beb3a2e8d68d99a5cdd3ef41 (diff)
Assortment of minor changes from 2.0-ongoing.
git-svn-id: svn://localhost/ardour2/branches/3.0@3852 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r--gtk2_ardour/editor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index dd00aabe7d..657e930ad8 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -2377,7 +2377,7 @@ Editor::set_edit_point_preference (EditPoint ep, bool force)
break;
}
- const char* action;
+ const char* action=NULL;
switch (_edit_point) {
case EditAtPlayhead:
@@ -4643,7 +4643,7 @@ Editor::idle_visual_changer ()
}
if (p & VisualChange::TimeOrigin) {
- nframes64_t csf, cef;
+ nframes64_t csf=0, cef=0;
nframes64_t current_time_origin = (nframes64_t) floor (horizontal_adjustment.get_value() * frames_per_unit);
if (session) {