mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-10 06:31:13 +00:00
Silence some build warnings on Android
This commit is contained in:
parent
9bd59661ed
commit
3de4a181eb
@ -1101,9 +1101,6 @@ void json_destroy(JSON_ref *jsonRef) {
|
|||||||
|
|
||||||
FREE(parsedData->jsonString);
|
FREE(parsedData->jsonString);
|
||||||
FREE(parsedData->jsonTokens);
|
FREE(parsedData->jsonTokens);
|
||||||
#pragma clang diagnostic push
|
FREE(*((JSON_s **)jsonRef));
|
||||||
#pragma clang diagnostic ignored "-Wincompatible-pointer-types-discards-qualifiers"
|
|
||||||
FREE(*jsonRef);
|
|
||||||
#pragma clang diagnostic pop
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -711,7 +711,7 @@ static int64_t gltouchkbd_onTouchEvent(interface_touch_event_t action, int point
|
|||||||
static void _loadAltKbd(const char *kbdPath) {
|
static void _loadAltKbd(const char *kbdPath) {
|
||||||
JSON_ref jsonRef = NULL;
|
JSON_ref jsonRef = NULL;
|
||||||
|
|
||||||
json_unescapeSlashes(&kbdPath);
|
json_unescapeSlashes((char **)&kbdPath);
|
||||||
int tokCount = json_createFromFile(kbdPath, &jsonRef);
|
int tokCount = json_createFromFile(kbdPath, &jsonRef);
|
||||||
JSON_s parsedData = { 0 };
|
JSON_s parsedData = { 0 };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user