diff options
author | David Robillard <d@drobilla.net> | 2011-05-15 23:54:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-15 23:54:50 +0000 |
commit | 9947012c89a2e965d2871b8b5417d9cd8adff2fd (patch) | |
tree | 41cbc523e7cbadb981a1c5daeff0dc4b67f5cdab /src/serdi.c | |
parent | ee9291e3fcdcd9984e1853941f7fffb4d5873d61 (diff) | |
download | serd-9947012c89a2e965d2871b8b5417d9cd8adff2fd.tar.gz serd-9947012c89a2e965d2871b8b5417d9cd8adff2fd.tar.bz2 serd-9947012c89a2e965d2871b8b5417d9cd8adff2fd.zip |
Remove dead code found by clang static analyser.
git-svn-id: http://svn.drobilla.net/serd/trunk@180 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serdi.c b/src/serdi.c index 1d6a8663..91cffe46 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -133,7 +133,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; |