浏览代码

Disable correct compiler-warning: unused-function.

Kim Kulling 3 年之前
父节点
当前提交
5c438963c0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/Common/StbCommon.h

+ 1 - 1
code/Common/StbCommon.h

@@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #pragma warning(disable : 4505)
 #else
 #pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wunused-variable"
+#pragma GCC diagnostic ignored "-Wunused-function"
 #endif
 
 #define STB_IMAGE_STATIC