shithub: dumb

Download patch

ref: 5c9c4359042555c182a4bd52ef212a162e5bbd76
parent: 9b60a9a4784af5eb7ae2274726c7107c072eb3a6
author: Chris Moeller <kode54@gmail.com>
date: Sat Dec 22 11:49:01 EST 2012

Removed unused variable from function declarations, a leftover from copying from the MOD reader

--- a/dumb/src/it/readokt.c
+++ b/dumb/src/it/readokt.c
@@ -319,7 +319,7 @@
 }
 
 
-static DUMB_IT_SIGDATA *it_okt_load_sigdata(DUMBFILE *f, int restrict)
+static DUMB_IT_SIGDATA *it_okt_load_sigdata(DUMBFILE *f)
 {
 	DUMB_IT_SIGDATA *sigdata;
 	unsigned n_channels;
@@ -538,13 +538,13 @@
 
 
 
-DUH *dumb_read_okt_quick(DUMBFILE *f, int restrict)
+DUH *dumb_read_okt_quick(DUMBFILE *f)
 {
 	sigdata_t *sigdata;
 
 	DUH_SIGTYPE_DESC *descptr = &_dumb_sigtype_it;
 
-	sigdata = it_okt_load_sigdata(f, restrict);
+    sigdata = it_okt_load_sigdata(f);
 
 	if (!sigdata)
 		return NULL;