summaryrefslogtreecommitdiff
path: root/navit/cache.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-13 17:11:58 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-13 17:11:58 +0000
commit11dc5783e249acda76eb18bd33b645e158afce0d (patch)
treeb880207e2095f937052c375a2ed6f825a032bb2b /navit/cache.c
parentc812a95a0670a2f31d7fd90dcc0df3db4ca86f72 (diff)
downloadnavit-svn-11dc5783e249acda76eb18bd33b645e158afce0d.tar.gz
Fix:Core:Removed useless function
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1455 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/cache.c')
-rw-r--r--navit/cache.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/navit/cache.c b/navit/cache.c
index 446cb990..252fcc7f 100644
--- a/navit/cache.c
+++ b/navit/cache.c
@@ -334,16 +334,6 @@ cache_insert_new(struct cache *cache, void *id, int size)
return data;
}
-void *
-cache_lookup_or_insert(struct cache *cache, void *id, int size)
-{
- void *data=cache_lookup(cache, id);
- if (! data) {
- data=cache_insert_new(cache, id, size);
- }
- return data;
-}
-
void
cache_stats(struct cache *cache)
{