More tinkering with State<>. Use some StateDiffCommands instead of
[ardour.git] / libs / ardour / audioregion.cc
index 7485ac69131f8b8ea30af11ff513230d1ce21d7b..c96f7119b8ee42972a02ac2d8b4e22661c593f5e 100644 (file)
@@ -305,12 +305,9 @@ void
 AudioRegion::set_envelope_active (bool yn)
 {
        if (envelope_active() != yn) {
-               char buf[64];
                if (yn) {
-                       snprintf (buf, sizeof (buf), "envelope active");
                        _flags = Flag (_flags|EnvelopeActive);
                } else {
-                       snprintf (buf, sizeof (buf), "envelope off");
                        _flags = Flag (_flags & ~EnvelopeActive);
                }
                send_change (EnvelopeActiveChanged);