Skip to content
Snippets Groups Projects
Commit 1d750c76 authored by Graham McVicker's avatar Graham McVicker
Browse files

avoid a perl warning

parent 55af15f8
No related branches found
No related tags found
No related merge requests found
......@@ -210,7 +210,7 @@ sub fetch_all_by_Slice {
#if we did not completely overlap the last feature, put it back on so
#it can be partially used by the next block
if($fend < $f->{'end'}) {
if(defined($f) && (!defined($fend) || $fend < $f->{'end'})) {
unshift(@features, $f);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment