From 21a9aed96860f942da91ae9025e66afa65b679de Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sat, 10 Feb 2018 13:31:13 +0100 Subject: [PATCH] Fix return type --- zathura/content-type.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zathura/content-type.c b/zathura/content-type.c index 825cd79..7dc98fd 100644 --- a/zathura/content-type.c +++ b/zathura/content-type.c @@ -97,7 +97,7 @@ guess_type_magic(zathura_content_type_context_t* context, const char* path) girara_debug("magic detected filetype: %s", mime_type); /* dup so we own the memory */ - return g_strdup(mime_type);; + return g_strdup(mime_type); } static char* @@ -106,7 +106,7 @@ guess_type_file(const char* UNUSED(path)) return NULL; } #else -static const char* +static char* guess_type_magic(zathura_content_type_context_t* UNUSED(context), const char* UNUSED(path)) {