summaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-03-21 20:23:48 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-03-21 20:23:48 +0000
commitb2e875a0ef2d7156026806ecb1c865e68e44b54e (patch)
tree597a70701717622d73435bdda38bfa38bc365331 /search.c
parent15678af77a18fb28d8df2538e440c637e348da7a (diff)
downloadnavit-svn-b2e875a0ef2d7156026806ecb1c865e68e44b54e.tar.gz
Fix:Core:More search fixes
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/src@955 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'search.c')
-rw-r--r--search.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/search.c b/search.c
index d088c5fd..f4db7736 100644
--- a/search.c
+++ b/search.c
@@ -241,16 +241,12 @@ search_list_search_free(struct search_list *sl, int level)
static int
search_add_result(struct search_list_level *le, void *p)
{
-#if 0
if (! g_hash_table_lookup(le->hash, p)) {
-#endif
g_hash_table_insert(le->hash, p, (void *)1);
le->list=g_list_append(le->list, p);
return 1;
-#if 0
}
return 0;
-#endif
}
struct search_list_result *