From: John Hodge Date: Mon, 22 Jul 2013 12:19:01 +0000 (+0800) Subject: Usermode - Fixed scan-build complaints X-Git-Tag: rel0.15~339 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=d1f966b380f901127868a13ba844d6b23c6f6d47;p=tpg%2Facess2.git Usermode - Fixed scan-build complaints --- diff --git a/Usermode/Libraries/libposix.so_src/dirent.c b/Usermode/Libraries/libposix.so_src/dirent.c index 920020a0..e721a4f0 100644 --- a/Usermode/Libraries/libposix.so_src/dirent.c +++ b/Usermode/Libraries/libposix.so_src/dirent.c @@ -9,6 +9,7 @@ #include // NULL #include #include +#include struct DIR_s { diff --git a/Usermode/Libraries/liburi.so_src/main.c b/Usermode/Libraries/liburi.so_src/main.c index 93d3b564..ca719406 100644 --- a/Usermode/Libraries/liburi.so_src/main.c +++ b/Usermode/Libraries/liburi.so_src/main.c @@ -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;