Md5: Fix warning: missing return statement.

pull/5421/head
Kim Kulling 2024-01-30 11:16:12 +01:00
parent 52a7772611
commit 5bdcc2009c
1 changed files with 2 additions and 1 deletions

View File

@ -264,12 +264,13 @@ inline bool AI_MD5_PARSE_STRING(const char **sz, const char *bufferEnd, aiString
if ('\"' != *(szEnd -= 1)) {
MD5Parser::ReportWarning("Expected closing quotation marks in string", linenumber);
++*sz;
//return false;
}
}
out.length = (ai_uint32)(szEnd - szStart);
::memcpy(out.data, szStart, out.length);
out.data[out.length] = '\0';
return true;
}
// parse a string, enclosed in quotation marks