mirror of
https://github.com/webmproject/libwebp.git
synced 2025-08-28 23:03:20 +02:00
Fix static analyzer warnings.
Change-Id: I45f0db2310b1188809963af93240e3d438f807b8
This commit is contained in:
@@ -97,7 +97,7 @@ int GetColorPalette(const WebPPicture* const pic, uint32_t* const palette) {
|
||||
int x, y;
|
||||
int num_colors = 0;
|
||||
uint8_t in_use[COLOR_HASH_SIZE] = {0};
|
||||
uint32_t colors[COLOR_HASH_SIZE];
|
||||
uint32_t colors[COLOR_HASH_SIZE] = {0};
|
||||
const uint32_t* argb = pic->argb;
|
||||
const int width = pic->width;
|
||||
const int height = pic->height;
|
||||
|
Reference in New Issue
Block a user