Remove unused variable in doc::Palette::resize()

This commit is contained in:
David Capello 2015-06-23 11:25:19 -03:00
parent 6a829727b7
commit c12a546c10

View File

@ -66,9 +66,7 @@ void Palette::resize(int ncolors)
{
ASSERT(ncolors >= 0);
int old_size = m_colors.size();
m_colors.resize(ncolors, doc::rgba(0, 0, 0, 255));
++m_modifications;
}