mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-11 14:30:08 +00:00
Silence some Android build warnings
This commit is contained in:
parent
aa74763d28
commit
1bf328795a
@ -91,7 +91,7 @@ GLenum safeGLGetError(void) {
|
||||
#endif
|
||||
|
||||
void log_init(void) {
|
||||
assert(data_dir);
|
||||
assert((uintptr_t)data_dir);
|
||||
_log_rotate(/*performRotation:*/false);
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ static void _init_common(void) {
|
||||
snprintf(buf, PAGE_SIZE, "%s/.apple2", HOMEDIR);
|
||||
data_dir = STRDUP(buf);
|
||||
#endif
|
||||
assert(data_dir);
|
||||
assert((uintptr_t)data_dir);
|
||||
|
||||
mkdir(data_dir, (S_IRWXU|S_IRWXG));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user