summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-15 23:56:05 +0000
committerDavid Robillard <d@drobilla.net>2011-05-15 23:56:05 +0000
commitb9d2e2fc70b97fecf7d9e8e78eb003f9b14df53c (patch)
tree4219fd0d6eb4d7b32f2414466b907a0978512afc /src
parentcbd0da24a96c79eafed994e694a5c7ae94135591 (diff)
downloadsord-b9d2e2fc70b97fecf7d9e8e78eb003f9b14df53c.tar.gz
sord-b9d2e2fc70b97fecf7d9e8e78eb003f9b14df53c.tar.bz2
sord-b9d2e2fc70b97fecf7d9e8e78eb003f9b14df53c.zip
Remove dead code found by clang static analyser
git-svn-id: http://svn.drobilla.net/sord/trunk@117 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src')
-rw-r--r--src/sordi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sordi.c b/src/sordi.c
index ad1329c..2549549 100644
--- a/src/sordi.c
+++ b/src/sordi.c
@@ -98,7 +98,7 @@ main(int argc, char** argv)
const uint8_t* base_uri_str = NULL;
SerdURI base_uri;
if (a < argc) { // Base URI given on command line
- const uint8_t* const in_base_uri = (const uint8_t*)argv[a++];
+ const uint8_t* const in_base_uri = (const uint8_t*)argv[a];
if (serd_uri_parse((const uint8_t*)in_base_uri, &base_uri)) {
fprintf(stderr, "Invalid base URI <%s>\n", argv[2]);
return 1;