From 33805af1dff734a8488ec956b6c5634dc6fd77d3 Mon Sep 17 00:00:00 2001 From: subhransu mohanty Date: Mon, 14 Jan 2019 10:50:04 +0900 Subject: [PATCH] lottie/stb: fixed warning regarding unused function. Change-Id: I4558829cc73135bcf5d454e97e13db5925df1655 --- src/vector/stb/stb_image.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vector/stb/stb_image.h b/src/vector/stb/stb_image.h index d9c21bc..d284fd0 100644 --- a/src/vector/stb/stb_image.h +++ b/src/vector/stb/stb_image.h @@ -1070,6 +1070,7 @@ static void stbi__vertical_flip(void *image, int w, int h, int bytes_per_pixel) } } +#ifndef STBI_NO_GIF static void stbi__vertical_flip_slices(void *image, int w, int h, int z, int bytes_per_pixel) { int slice; @@ -1081,6 +1082,7 @@ static void stbi__vertical_flip_slices(void *image, int w, int h, int z, int byt bytes += slice_size; } } +#endif static unsigned char *stbi__load_and_postprocess_8bit(stbi__context *s, int *x, int *y, int *comp, int req_comp) { -- 2.7.4