From cfd6e7dea8dd5e30374a8528dd420f43f0dfc1ee Mon Sep 17 00:00:00 2001 From: Chris Pickett Date: Wed, 6 Jan 2016 12:04:46 -0600 Subject: [PATCH] Documented what the suppressed warning is about --- include/flatbuffers/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/flatbuffers/util.h b/include/flatbuffers/util.h index f3fbef497..41a6ce07e 100644 --- a/include/flatbuffers/util.h +++ b/include/flatbuffers/util.h @@ -211,7 +211,7 @@ inline void EnsureDirExists(const std::string &filepath) { if (parent.length()) EnsureDirExists(parent); #ifdef _WIN32 #ifdef _MSC_VER - #pragma warning(suppress: 6031) + #pragma warning(suppress: 6031) // "return value ignored: could return unexpected value" #endif _mkdir(filepath.c_str()); #else