mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 18:45:23 -04:00
Less compile warnings on linux
This commit is contained in:
parent
53f1c4463b
commit
1f93a262f8
@ -133,7 +133,7 @@ static void Chat_OpenLog(struct DateTime* now) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
logStream.Meta.File = NULL;
|
logStream.Meta.File = 0;
|
||||||
Chat_DisableLogging();
|
Chat_DisableLogging();
|
||||||
Chat_Add1("&cFailed to open a chat log file after %i tries, giving up", &i);
|
Chat_Add1("&cFailed to open a chat log file after %i tries, giving up", &i);
|
||||||
}
|
}
|
||||||
|
@ -95,7 +95,7 @@ static ReturnCode Stream_FileWrite(struct Stream* s, const uint8_t* data, uint32
|
|||||||
}
|
}
|
||||||
static ReturnCode Stream_FileClose(struct Stream* s) {
|
static ReturnCode Stream_FileClose(struct Stream* s) {
|
||||||
ReturnCode res = File_Close(s->Meta.File);
|
ReturnCode res = File_Close(s->Meta.File);
|
||||||
s->Meta.File = NULL;
|
s->Meta.File = 0;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
static ReturnCode Stream_FileSkip(struct Stream* s, uint32_t count) {
|
static ReturnCode Stream_FileSkip(struct Stream* s, uint32_t count) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user