mirror of
https://github.com/libretro/mgba.git
synced 2024-11-28 10:40:24 +00:00
All: Fix warnings
This commit is contained in:
parent
e67bf2fd42
commit
e70df7b6f7
@ -154,7 +154,7 @@ int utfcmp(const uint16_t* utf16, const char* utf8, size_t utf16Length, size_t u
|
||||
|
||||
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;
|
||||
|
@ -148,9 +148,6 @@ off_t _vf7zSeek(struct VFile* vf, off_t offset, int whence) {
|
||||
}
|
||||
|
||||
if (position <= vf7z->size) {
|
||||
if (read < 0) {
|
||||
return -1;
|
||||
}
|
||||
return vf7z->offset;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user