aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-03-31 17:00:07 +0000
committerDavid Robillard <d@drobilla.net>2013-03-31 17:00:07 +0000
commitcf7dc2c676f61de2a019b1ecc8cf9e736e488c2e (patch)
treeb1023d914beced71be2f8077212fbfface2d197e /src
parent09c4bb6a3031d2951ff3d285936a91a4f87dca0f (diff)
downloadserd-cf7dc2c676f61de2a019b1ecc8cf9e736e488c2e.tar.gz
serd-cf7dc2c676f61de2a019b1ecc8cf9e736e488c2e.tar.bz2
serd-cf7dc2c676f61de2a019b1ecc8cf9e736e488c2e.zip
Remove unnecessary branch condition.
git-svn-id: http://svn.drobilla.net/serd/trunk@447 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src')
-rw-r--r--src/serd_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serd_internal.h b/src/serd_internal.h
index 3a43dd29..4c3e6397 100644
--- a/src/serd_internal.h
+++ b/src/serd_internal.h
@@ -269,7 +269,7 @@ uri_path_at(const SerdURI* uri, size_t i)
static inline bool
uri_is_under(const SerdURI* uri, const SerdURI* root)
{
- if (!root || !uri || !root->scheme.len ||
+ if (!root || !root->scheme.len ||
!chunk_equals(&root->scheme, &uri->scheme) ||
!chunk_equals(&root->authority, &uri->authority)) {
return false;