Fix some set-but-not-used variable warnings from gcc 4.6
[ardour.git] / libs / ardour / playlist.cc
index 66a0eab9ad0a9355fdbde8f6a2566303d7416b4d..6fad2084e4e267ae370f0fba2ee562f19179c666 100644 (file)
@@ -848,7 +848,6 @@ Playlist::flush_notifications (bool from_undo)
  {
         RegionList::iterator i;
         framecnt_t old_length = 0;
-        int ret = -1;
 
         if (!holding_state()) {
                 old_length = _get_extent().second;
@@ -881,7 +880,6 @@ Playlist::flush_notifications (bool from_undo)
                         }
 
                         notify_region_removed (region);
-                        ret = 0;
                         break;
                 }
         }