mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-06 02:46:55 +00:00
Fix unused variable build warning on Mac.
Change-Id: I330187be6a96bfd388c2776f676d47a9145d5e4a
This commit is contained in:
@@ -21,6 +21,7 @@ static const char *g_program_name = nullptr;
|
|||||||
static void Warn(const flatbuffers::FlatCompiler *flatc,
|
static void Warn(const flatbuffers::FlatCompiler *flatc,
|
||||||
const std::string &warn,
|
const std::string &warn,
|
||||||
bool show_exe_name) {
|
bool show_exe_name) {
|
||||||
|
(void)flatc;
|
||||||
if (show_exe_name) {
|
if (show_exe_name) {
|
||||||
printf("%s: ", g_program_name);
|
printf("%s: ", g_program_name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user