Просмотр исходного кода

remove: 移除fastlz中多余的pragma GCC

Wendal Chen 1 год назад
Родитель
Сommit
bb070537ff
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      components/fastlz/fastlz.c

+ 3 - 3
components/fastlz/fastlz.c

@@ -25,8 +25,8 @@
 
 #include <stdint.h>
 
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
+// #pragma GCC diagnostic push
+// #pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
 
 /*
  * Give hints to the compiler for branch prediction optimization.
@@ -500,4 +500,4 @@ int fastlz_compress_level(int level, const void* input, int length, void* output
   return 0;
 }
 
-#pragma GCC diagnostic pop
+// #pragma GCC diagnostic pop