From b9d2e2fc70b97fecf7d9e8e78eb003f9b14df53c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 15 May 2011 23:56:05 +0000 Subject: Remove dead code found by clang static analyser git-svn-id: http://svn.drobilla.net/sord/trunk@117 3d64ff67-21c5-427c-a301-fe4f08042e5a --- src/sordi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.1