From 0cf82565e55ef177febc81806e91a48afc891dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kusalananda=20K=C3=A4h=C3=A4ri?= <ak4@sanger.ac.uk> Date: Tue, 31 Aug 2010 15:49:18 +0000 Subject: [PATCH] In _fetch_seq(): Remove unused vaiable, spotted by Michael S. --- modules/Bio/EnsEMBL/DBSQL/SequenceAdaptor.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/DBSQL/SequenceAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/SequenceAdaptor.pm index 09674cece2..498e3f0c1c 100644 --- a/modules/Bio/EnsEMBL/DBSQL/SequenceAdaptor.pm +++ b/modules/Bio/EnsEMBL/DBSQL/SequenceAdaptor.pm @@ -466,7 +466,7 @@ sub _fetch_seq { # return only the requested portion of the entire sequence my $min = ( $chunk_min << $SEQ_CHUNK_PWR ) + 1; - my $max = ( $chunk_max + 1 ) << $SEQ_CHUNK_PWR; + # my $max = ( $chunk_max + 1 ) << $SEQ_CHUNK_PWR; my $seq = substr( $entire_seq, $start - $min, $length ); return \$seq; -- GitLab