Преглед на файлове

Add missing diagnostic push

Robert Ubiñas преди 4 години
родител
ревизия
69c152d7c1
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      code/AssetLib/glTF/glTFExporter.cpp

+ 1 - 0
code/AssetLib/glTF/glTFExporter.cpp

@@ -526,6 +526,7 @@ void ExportSkin(Asset& mAsset, const aiMesh* aimesh, Ref<Mesh>& meshRef, Ref<Buf
 
 
 #if defined(__has_warning)
 #if defined(__has_warning)
 #if __has_warning("-Wunused-but-set-variable")
 #if __has_warning("-Wunused-but-set-variable")
+#pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wunused-but-set-variable"
 #pragma GCC diagnostic ignored "-Wunused-but-set-variable"
 #endif
 #endif
 #endif
 #endif