mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-07 09:56:59 +00:00
Remove unused variable in doc::Palette::resize()
This commit is contained in:
parent
6a829727b7
commit
c12a546c10
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user