Fixed various minor semantic glitches

There were various minor semantic glitches reported by cppcheck and
Andrei Smirnov.
(cherry picked from commit a4de8fa16a)
This commit is contained in:
Tobias Doerffel committed 2011-01-08 00:19:11 +01:00
1 parent ea94e6aa32
commit cfce2bc827
6 files changed
+18 -19

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@
* EffectRackView.cpp - view for effectChain model
*
* Copyright (c) 2006-2007 Danny McRae <khjklujn@netscape.net>
* Copyright (c) 2008-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2008-2011 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
@@ -188,7 +188,7 @@ void EffectRackView::update()
view_map[i] == false )
{
delete m_effectViews[i];
m_effectViews.erase( it );
it = m_effectViews.erase( it );
}
else
{