Browse Source

Merge pull request #2508 from CertifiedBlyndGuy/master

cache: Remove unused return from 'cache_key_exist'
pull/2521/head
Max Lv 5 years ago
committed by GitHub
parent
commit
73517220c3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions
  1. 2
      src/cache.c

2
src/cache.c

@ -243,8 +243,6 @@ cache_key_exist(struct cache *cache, char *key, size_t key_len)
tmp->ts = ev_time();
HASH_ADD_KEYPTR(hh, cache->entries, tmp->key, key_len, tmp);
return 1;
} else {
return 0;
}
return 0;

Loading…
Cancel
Save