diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-10-13 17:11:58 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-10-13 17:11:58 +0000 |
commit | ae13119530175a295d6708fd2d11ad9290195a1a (patch) | |
tree | b880207e2095f937052c375a2ed6f825a032bb2b /navit/cache.c | |
parent | 0d186c1ca2e3c5e5f099eee703cf8eea2d19f246 (diff) | |
download | navit-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.c | 10 |
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) { |