From e613dd8e66eea69c506bb9f3094a66d647b0caff Mon Sep 17 00:00:00 2001 From: dbera Date: Sat, 25 Nov 2006 00:01:41 +0000 Subject: [PATCH] dead code --- beagled/FileSystemQueryable/FileSystemQueryable.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/beagled/FileSystemQueryable/FileSystemQueryable.cs b/beagled/FileSystemQueryable/FileSystemQueryable.cs index 0e3ae17c..df51b77e 100644 --- a/beagled/FileSystemQueryable/FileSystemQueryable.cs +++ b/beagled/FileSystemQueryable/FileSystemQueryable.cs @@ -1355,13 +1355,8 @@ namespace Beagle.Daemon.FileSystemQueryable { // Relative URI starts with '#' string is_child = hit [Property.IsChildPropKey]; string fragment = null; - if (is_child == "true") { - string uri_str = UriFu.UriToEscapedString (old_uri); - int begin = uri_str.IndexOf ('#'); - fragment = uri_str.Remove (0, begin); - fragment = old_uri.Fragment; - hit.Uri = UriFu.PathToFileUri (path, fragment); - } + if (is_child == "true") + hit.Uri = UriFu.PathToFileUri (path, old_uri.Fragment); // Check the ignore status of the hit if (filter.Ignore (parent, Path.GetFileName (fragment == null ? path : fragment), is_directory)) -- 2.11.4.GIT