diff --git a/src/idl_gen_general.cpp b/src/idl_gen_general.cpp index 3b597cf7a..fdb6df795 100644 --- a/src/idl_gen_general.cpp +++ b/src/idl_gen_general.cpp @@ -118,7 +118,7 @@ LanguageParameters language_parameters[] = { "position()", "offset()", "import java.nio.*;\nimport java.lang.*;\nimport java.util.*;\n" - "import com.google.flatbuffers.*;\n\n", + "import com.google.flatbuffers.*;\n\n@SuppressWarnings(\"unused\")\n", { "/**", " *",