summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-03-24 22:06:21 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2022-03-24 22:06:21 +0000
commitcc18507ae1ffe1753eb7dc66e26f9d8a9231cba6 (patch)
tree01439ca845740658a09f13bc68794c02fc9e95bf
parent245bd38ecdb75340065f0a05e292828261a241a5 (diff)
downloadlibnsgif-cc18507ae1ffe1753eb7dc66e26f9d8a9231cba6.tar.gz
libnsgif-cc18507ae1ffe1753eb7dc66e26f9d8a9231cba6.tar.bz2
GIF: Remove unused helper function.
-rw-r--r--src/gif.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gif.c b/src/gif.c
index 4966677..84df50e 100644
--- a/src/gif.c
+++ b/src/gif.c
@@ -591,18 +591,6 @@ static inline nsgif_error nsgif__decode(
}
/**
- * 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.
*
* \param[in] gif The gif object we're decoding.