diff options
Diffstat (limited to 'engines/sci/engine/said.y')
-rw-r--r-- | engines/sci/engine/said.y | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/sci/engine/said.y b/engines/sci/engine/said.y index e8e5a73c20..408d3971d1 100644 --- a/engines/sci/engine/said.y +++ b/engines/sci/engine/said.y @@ -26,6 +26,14 @@ #include "sci/engine/state.h" + +// Bison generates an empty switch statement that gives a warning in MSVC. +// This disables that warning. +#ifdef _MSC_VER +#pragma warning(disable:4065) +#endif + + namespace Sci { #define SAID_BRANCH_NULL 0 |