mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
strict compile
init the struct before use
This commit is contained in:
parent
a5131d287f
commit
7f6d91f90a
@ -120,7 +120,7 @@ static int readValue (const char* end, Str* str) {
|
||||
/* Returns the number of tuple values read (1, 2, 4, or 0 for failure). */
|
||||
static int readTuple (const char* end, Str tuple[]) {
|
||||
int i;
|
||||
Str str;
|
||||
Str str = {NULL, NULL};
|
||||
readLine(0, end, &str);
|
||||
if (!beginPast(&str, ':')) return 0;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user