mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-29 11:02:02 +00:00
Documented what the suppressed warning is about
This commit is contained in:
@@ -211,7 +211,7 @@ inline void EnsureDirExists(const std::string &filepath) {
|
|||||||
if (parent.length()) EnsureDirExists(parent);
|
if (parent.length()) EnsureDirExists(parent);
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(suppress: 6031)
|
#pragma warning(suppress: 6031) // "return value ignored: <function> could return unexpected value"
|
||||||
#endif
|
#endif
|
||||||
_mkdir(filepath.c_str());
|
_mkdir(filepath.c_str());
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user