Md5: Fix warning: missing return statement.
parent
52a7772611
commit
5bdcc2009c
|
@ -264,12 +264,13 @@ inline bool AI_MD5_PARSE_STRING(const char **sz, const char *bufferEnd, aiString
|
||||||
if ('\"' != *(szEnd -= 1)) {
|
if ('\"' != *(szEnd -= 1)) {
|
||||||
MD5Parser::ReportWarning("Expected closing quotation marks in string", linenumber);
|
MD5Parser::ReportWarning("Expected closing quotation marks in string", linenumber);
|
||||||
++*sz;
|
++*sz;
|
||||||
//return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
out.length = (ai_uint32)(szEnd - szStart);
|
out.length = (ai_uint32)(szEnd - szStart);
|
||||||
::memcpy(out.data, szStart, out.length);
|
::memcpy(out.data, szStart, out.length);
|
||||||
out.data[out.length] = '\0';
|
out.data[out.length] = '\0';
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// parse a string, enclosed in quotation marks
|
// parse a string, enclosed in quotation marks
|
||||||
|
|
Loading…
Reference in New Issue