Skip to content

Commit

Permalink
Fix reading of array data from XML
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Oct 17, 2017
1 parent 3a9dba1 commit 81fd74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExternData/Resources/C-Sources/ED_XMLFile.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ void ED_getDoubleArray1DFromXML(void* _xml, const char* varName, double* a, size
if (token != NULL) {
buf = strdup(token);
if (buf != NULL) {
char* nextToken = NULL;
nextToken = NULL;
token = strtok_r(buf, "[]{},; \t", &nextToken);
}
else {
Expand Down

0 comments on commit 81fd74d

Please sign in to comment.