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
commitae13119530175a295d6708fd2d11ad9290195a1a (patch)
treeb880207e2095f937052c375a2ed6f825a032bb2b /navit/cache.c
parent0d186c1ca2e3c5e5f099eee703cf8eea2d19f246 (diff)
downloadnavit-ae13119530175a295d6708fd2d11ad9290195a1a.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 446cb9900..252fcc7f5 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)
{