diff --git a/src/d8.cc b/src/d8.cc index f2b066cad0..3b9c183c2a 100644 --- a/src/d8.cc +++ b/src/d8.cc @@ -787,9 +787,9 @@ static FILE* FOpen(const char* path, const char* mode) { #if (defined(_WIN32) || defined(_WIN64)) FILE* result; if (fopen_s(&result, path, mode) == 0) { - return result; + return result; } else { - return NULL; + return NULL; } #else FILE* file = fopen(path, mode);