shithub: dumb

Download patch

ref: 0994e9948c6ca6b2d50e1e5e4ac87b8371764b7f
parent: beea1d9f5c32609b8b48859f018a4225b1ab29ab
author: Chris Moeller <kode54@gmail.com>
date: Mon Jan 14 15:14:48 EST 2013

Removed unused variables

--- a/dumb/src/it/readam.c
+++ b/dumb/src/it/readam.c
@@ -268,8 +268,6 @@
 
     int n, o, p, found;
 
-	unsigned char * ptr;
-
 	if ( ! stream ) goto error;
 
 	if ( stream->type != DUMB_ID( 'A', 'M', 'F', 'F' ) ) goto error;
@@ -468,8 +466,6 @@
 	DUMB_IT_SIGDATA *sigdata;
 
 	int n, o, p, found;
-
-	unsigned char * ptr;
 
     if ( ! f || ! stream ) goto error;
 
--- a/dumb/src/it/readdsmf.c
+++ b/dumb/src/it/readdsmf.c
@@ -216,8 +216,6 @@
 
 	int n, o, found;
 
-	unsigned char * ptr;
-
 	if ( ! stream ) goto error;
 
 	if ( stream->type != DUMB_ID( 'D', 'S', 'M', 'F' ) ) goto error;
--- a/dumb/src/it/readstm.c
+++ b/dumb/src/it/readstm.c
@@ -194,8 +194,6 @@
 
     int n;
 
-	long o, p, q;
-
 	sigdata = malloc(sizeof(*sigdata));
 	if (!sigdata) return NULL;