diff --git a/zathura/content-type.c b/zathura/content-type.c index 04bf962..68f087f 100644 --- a/zathura/content-type.c +++ b/zathura/content-type.c @@ -81,12 +81,6 @@ guess_type_magic(zathura_content_type_context_t* context, const char* path) return content_type; } -static char* -guess_type_file(const char* UNUSED(path)) -{ - return NULL; -} - static char* guess_type_glib(const char* path) { @@ -166,9 +160,8 @@ zathura_content_type_guess(zathura_content_type_context_t* context, const char* girara_list_find(supported_content_types, compare_content_types, content_type) != NULL) { return content_type; } - girara_debug("content type '%s' not supported, trying again", content_type); + girara_debug("content type '%s' not supported", content_type); g_free(content_type); } - /* and if libmagic is not available, try file as last resort */ - return guess_type_file(path); + return NULL; }