summaryrefslogtreecommitdiff
path: root/muse2/grepmidi
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2012-07-01 16:42:16 +0000
committerFlorian Jung <flo@windfisch.org>2012-07-01 16:42:16 +0000
commit9c4664d162c537ba4dd4fd8220971c0fb727103a (patch)
tree37a28b7cd4e4d8984ad4934a4884cd7b4da0505c /muse2/grepmidi
parente87fedf1be804f7ec774071d844b1f163be30b96 (diff)
final merge
Diffstat (limited to 'muse2/grepmidi')
-rw-r--r--muse2/grepmidi/grepmidi.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/muse2/grepmidi/grepmidi.cpp b/muse2/grepmidi/grepmidi.cpp
index 6e1aabbd..4cb0632f 100644
--- a/muse2/grepmidi/grepmidi.cpp
+++ b/muse2/grepmidi/grepmidi.cpp
@@ -128,7 +128,6 @@ int grepTrack(FILE* f, int trackno)
{
// printf("TRACK %d\n", trackno);
int mtype, mlen;
- int b;
char* buffer;
char tmp[4];
@@ -156,7 +155,7 @@ int grepTrack(FILE* f, int trackno)
case 0xa0:
case 0xb0:
case 0xe0:
- b = getc(f);
+ getc(f);
++cpos;
case 0xc0:
case 0xd0: