mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +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). */
|
/* Returns the number of tuple values read (1, 2, 4, or 0 for failure). */
|
||||||
static int readTuple (const char* end, Str tuple[]) {
|
static int readTuple (const char* end, Str tuple[]) {
|
||||||
int i;
|
int i;
|
||||||
Str str;
|
Str str = {NULL, NULL};
|
||||||
readLine(0, end, &str);
|
readLine(0, end, &str);
|
||||||
if (!beginPast(&str, ':')) return 0;
|
if (!beginPast(&str, ':')) return 0;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user