All: Fix warnings
Jeffrey Pfau jeffrey@endrift.com
Sun, 25 Jan 2015 00:24:18 -0800
2 files changed,
1 insertions(+),
4 deletions(-)
M
src/util/string.c
→
src/util/string.c
@@ -154,7 +154,7 @@ }
char* utf16to8(const uint16_t* utf16, size_t length) { char* utf8 = 0; - char* offset; + char* offset = 0; char buffer[4]; size_t utf8TotalBytes = 0; size_t utf8Length = 0;
M
src/util/vfs/vfs-lzma.c
→
src/util/vfs/vfs-lzma.c
@@ -148,9 +148,6 @@ return position;
} if (position <= vf7z->size) { - if (read < 0) { - return -1; - } return vf7z->offset; }