浏览代码

Fixed GCC warning.

Branimir Karadžić 10 年之前
父节点
当前提交
105fe1bf0a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      3rdparty/ocornut-imgui/imgui.cpp

+ 1 - 0
3rdparty/ocornut-imgui/imgui.cpp

@@ -355,6 +355,7 @@
 #pragma GCC diagnostic ignored "-Wunused-function"          // warning: 'xxxx' defined but not used
 #pragma GCC diagnostic ignored "-Wunused-parameter"         // warning: unused parameter ‘xxxx’
 #pragma GCC diagnostic ignored "-Wtype-limits"              // warning: comparison is always true due to limited range of data type
+#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"      // warning: ‘xxxx’ may be used uninitialized in this function
 #endif
 
 //-------------------------------------------------------------------------