tidy code
[id3fs.git] / lib / ID3FS / Path / Node.pm
index b343090..52888a6 100644 (file)
@@ -114,20 +114,4 @@ sub used_tags
     return $self->id();
 }
 
-# does the bottom right-most expression end in a NOT?
-sub right_ends_in_not
-{
-    my($self, $node)=@_;
-    return 0 unless($node);
-    my $right=$node->right();
-    if($right && $right->type() == $TYPE_BOOL)
-    {
-       return $self->right_ends_in_not($right);
-    }
-    my $op=$node->name();
-    return 0 unless($op);
-    return 1 if($op eq "NOT");
-    return 0;
-}
-
 1;