mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 06:36:00 +01:00
Remove unused code
This commit is contained in:
parent
57f0d79e25
commit
fbfbefe18b
1 changed files with 2 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue