Mini stylistic 3.0 merge.

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4624 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-02-18 20:04:09 +00:00
parent 56033fe658
commit ef4e7d7b4c

View file

@ -17,6 +17,9 @@
*/
#define __STDC_FORMAT_MACROS 1
#include <stdint.h>
#include <algorithm>
#include <pbd/error.h>
@ -121,7 +124,7 @@ GenericMidiControlProtocol::_send_feedback ()
if (end == buf) {
return;
}
_port->write (buf, (int32_t) (end - buf));
}
@ -228,9 +231,7 @@ GenericMidiControlProtocol::stop_learning (Controllable* c)
}
}
if (dptr) {
delete dptr;
}
delete dptr;
}
void