1
0
mirror of https://github.com/aseprite/aseprite.git synced 2025-04-02 22:21:21 +00:00

Remove unused local variable in doc::write_layer()

This commit is contained in:
David Capello 2015-04-07 01:28:27 -03:00
parent 613e710ccf
commit f9a24096d3

@ -35,8 +35,6 @@ using namespace base::serialization::little_endian;
void write_layer(std::ostream& os, const Layer* layer) void write_layer(std::ostream& os, const Layer* layer)
{ {
std::string name = layer->name();
write32(os, layer->id()); write32(os, layer->id());
write_string(os, layer->name()); write_string(os, layer->name());