Branimir Karadžić 8 years ago
parent
commit
452cf95df5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      examples/common/imgui/imgui.cpp

+ 1 - 0
examples/common/imgui/imgui.cpp

@@ -99,6 +99,7 @@ void  imguiFree(void* _ptr, void*);
 BX_PRAGMA_DIAGNOSTIC_IGNORED_MSVC(4505); // error C4505: '' : unreferenced local function has been removed
 BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wunused-function"); // warning: ‘int rect_width_compare(const void*, const void*)’ defined but not used
 BX_PRAGMA_DIAGNOSTIC_PUSH();
+BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wunused-but-set-variable"); // warning: variable ‘L1’ set but not used
 BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wtype-limits"); // warning: comparison is always true due to limited range of data type
 #define STBTT_malloc(_size, _userData) imguiMalloc(_size, _userData)
 #define STBTT_free(_ptr, _userData) imguiFree(_ptr, _userData)