mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 09:46:01 +01:00
Fix return type
This commit is contained in:
parent
b777e8487c
commit
21a9aed968
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue