summaryrefslogtreecommitdiff
path: root/muse2/grepmidi
diff options
context:
space:
mode:
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: