diff --git a/libtransmission/utils.c b/libtransmission/utils.c index 2cf60b764..d359a46fb 100644 --- a/libtransmission/utils.c +++ b/libtransmission/utils.c @@ -694,14 +694,10 @@ tr_memmem( const char * haystack, size_t haystacklen, #ifdef HAVE_MEMMEM return memmem( haystack, haystacklen, needle, needlelen ); #else - const char *h = haystack; - const char *n = needle; size_t i; - for( i=0; i