summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2013-01-05 12:32:49 -0300
committerJorge Arellano Cid <jcid@dillo.org>2013-01-05 12:32:49 -0300
commitf655191659c9c8bd3648ad49d9a8115f91229712 (patch)
treeda5961c1ec20f1c772ffe9ba93b5e9bd0e27776d /src
parentb549267b05d06a2c02c40d23209457856e4f1052 (diff)
Remove redundant check in cache.c [by p37sitdu]
Diffstat (limited to 'src')
-rw-r--r--src/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c
index 9636d0d8..04c8d356 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -233,7 +233,7 @@ static CacheEntry_t *Cache_entry_search_with_redirect(const DilloUrl *Url)
break;
}
/* Test for a working redirection */
- if (entry && entry->Flags & CA_Redirect && entry->Location) {
+ if (entry->Flags & CA_Redirect && entry->Location) {
Url = entry->Location;
} else
break;