aboutsummaryrefslogtreecommitdiff
path: root/src/webp.c
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-11-24 18:40:52 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-11-24 19:08:46 +0100
commit38acbf15b8acb286315c7eda5acf63f4cf471be1 (patch)
tree30652bece8be0845cf502af84e81d6c541d3a403 /src/webp.c
parent6939e4f12e9d5b6c69aa994bbd6fc4046f8941e5 (diff)
Fix undefined NULL with image support disabled
Diffstat (limited to 'src/webp.c')
-rw-r--r--src/webp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webp.c b/src/webp.c
index bd0ad88d..77e6c7cf 100644
--- a/src/webp.c
+++ b/src/webp.c
@@ -215,6 +215,6 @@ void *a_Webp_new(DilloImage *Image, DilloUrl *url, int version)
void *a_Webp_new() { return 0; }
void a_Webp_callback() { return; }
-const char *a_Webp_version(char *buf, int n) { return NULL; }
+const char *a_Webp_version(char *buf, int n) { return 0; }
#endif /* ENABLE_WEBP */