Remove buggy method.

kimkulling-oss_fuzz29168
Kim Kulling 2021-01-19 21:27:50 +01:00 committed by GitHub
parent 22f632d8d0
commit f05a57560b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ IOStream *DefaultIOSystem::Open(const char *strFile, const char *strMode) {
ai_assert(strMode != nullptr);
FILE *file;
#ifdef _WIN32
std::string name = Utf8ToWide(strFile).c_str();
std::string name = Utf8ToWide(strFile);
if (name.empty()) {
return nullptr;
}