kwo pushed a commit to branch master. http://git.enlightenment.org/legacy/imlib2.git/commit/?id=31982cbe638e9d035438af022824473170deb0b0
commit 31982cbe638e9d035438af022824473170deb0b0 Author: Kim Woelders <[email protected]> Date: Fri Jan 21 15:03:10 2022 +0100 imlib2_view: Avoid clang error imlib2_view.c:206:33: error: initializer element is not a compile-time constant static rect_t r_prev = r_zero; ^~~~~~ --- src/bin/imlib2_view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/imlib2_view.c b/src/bin/imlib2_view.c index 84fb6f9..9e22fef 100644 --- a/src/bin/imlib2_view.c +++ b/src/bin/imlib2_view.c @@ -203,7 +203,7 @@ static void anim_update(Imlib_Image im, const rect_t * up_in, rect_t * up_out, int flags) { static const rect_t r_zero = { }; - static rect_t r_prev = r_zero; + static rect_t r_prev = { }; static Imlib_Image im_prev = NULL; Imlib_Image im_save = NULL; --
