Kernel/IPStack - (minor) TODO retransmit timer
[tpg/acess2.git] / Usermode / Libraries / liburi.so_src / main.c
index 93d3b56..1bb76f5 100644 (file)
@@ -64,7 +64,7 @@ tURI *URI_Parse(const char *String)
        // true URI
        if(tmp[0] == ':' && tmp[1] == '/' && tmp[2] == '/')
        {
-                int    hostlen, portlen, pathlen;
+                int    hostlen, portlen;
                tmp += 3;       // Eat '://'
                ret = malloc(sizeof(tURI) + protolen + 1 + strlen(tmp) + 1);
                
@@ -143,7 +143,6 @@ tURI *URI_Parse(const char *String)
                else
                        ret->Path = ret->Host + hostlen + 1;
                
-               pathlen = 0;
                strcpy(ret->Path, tmp);
                
                return ret;

UCC git Repository :: git.ucc.asn.au