From cc18507ae1ffe1753eb7dc66e26f9d8a9231cba6 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 24 Mar 2022 22:06:21 +0000 Subject: GIF: Remove unused helper function. --- src/gif.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/gif.c b/src/gif.c index 4966677..84df50e 100644 --- a/src/gif.c +++ b/src/gif.c @@ -590,18 +590,6 @@ static inline nsgif_error nsgif__decode( return ret; } -/** - * Helper to assign a gif background colour array from a pixel representation. - * - * \param[in] px The pixel colour to read from. - * \param[out] bg The background colour to write. - */ -static inline void nsgif__gif_px_to_bg( - const uint32_t *px, uint8_t bg[4]) -{ - *(uint32_t *)bg = *px; -} - /** * Restore a GIF to the background colour. * -- cgit v1.2.1