From 1740c444f8264f6a2b55dacd04d04e6a9800782e Mon Sep 17 00:00:00 2001 From: halx99 Date: Tue, 25 Aug 2020 14:47:51 +0800 Subject: [PATCH] fix warning --- cocos/base/astc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/base/astc.cpp b/cocos/base/astc.cpp index 76c0f1ee5d..0b1e8e3a08 100644 --- a/cocos/base/astc.cpp +++ b/cocos/base/astc.cpp @@ -20,7 +20,7 @@ int store_dds_uncompressed_image(const astc_codec_image* img, const char* filena int store_tga_image(const astc_codec_image* img, const char* tga_filename, int bitness) { return 0; } -extern int ASTC_INIT = 0; +static int ASTC_INIT = 0; uint8_t float2byte(float f) {