]> Devoid-pointer.net GitWeb - KLGD_FF_plugin.git/commitdiff
Fix double variable assignment
authorMichal Malý <madcatxster@devoid-pointer.net>
Fri, 15 Aug 2014 21:55:20 +0000 (23:55 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Fri, 15 Aug 2014 21:55:20 +0000 (23:55 +0200)
klgd_ff_plugin.c

index 11dd69792e8f3dfbef9fe3e93855e62ee6075b59..a6e9366318c62394919aa39b84a7d2e4e63a25af 100644 (file)
@@ -199,7 +199,6 @@ static struct klgd_command_stream * ffpl_get_commands(struct klgd_plugin *self,
                        case FFPL_TO_ERASE:
                                klgd_append_cmd(s, priv->stop_effect(eff->active, idx));
                                klgd_append_cmd(s, priv->erase_effect(eff->active, idx));
-                               eff->state = FFPL_EMPTY;
                                kfree(eff->active);
                                if (eff->active != eff->latest)
                                        kfree(eff->latest);