Remove unused variables

This commit is contained in:
David Capello 2015-01-21 11:01:38 -03:00
parent 1d8939be8a
commit 6dad428928
6 changed files with 0 additions and 10 deletions

View File

@ -51,7 +51,6 @@ namespace cmd {
}
private:
frame_t m_frame;
std::stringstream m_stream;
};

View File

@ -43,7 +43,6 @@ namespace cmd {
private:
frame_t m_fromFrame;
frame_t m_newFrame;
bool m_firstTime;
};
} // namespace cmd

View File

@ -65,8 +65,6 @@ void MaskContentCommand::onExecute(Context* context)
{
ContextWriter writer(context);
Document* document(writer.document());
Sprite* sprite(writer.sprite());
Layer* layer = writer.layer();
Cel* cel = writer.cel(); // Get current cel (can be NULL)
if (!cel)
return;

View File

@ -34,7 +34,6 @@ using namespace doc;
Transaction::Transaction(Context* ctx, const std::string& label, Modification modification)
: m_ctx(ctx)
, m_modification(modification)
, m_cmds(NULL)
{
DocumentLocation location = m_ctx->activeLocation();

View File

@ -73,7 +73,6 @@ namespace app {
Context* m_ctx;
DocumentUndo* m_undo;
CmdTransaction* m_cmds;
Modification m_modification;
};
} // namespace app

View File

@ -415,10 +415,6 @@ void Render::renderLayer(
if (!scaled_func)
return;
const LayerImage* background = m_sprite->backgroundLayer();
bool need_checked_bg = (background != NULL ? !background->isVisible(): true);
color_t bg_color = 0;
m_globalOpacity = 255;
renderLayer(layer, dstImage, area,
frame, Zoom(1, 1), scaled_func,