mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-01 05:26:00 +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);
|
girara_debug("magic detected filetype: %s", mime_type);
|
||||||
|
|
||||||
/* dup so we own the memory */
|
/* dup so we own the memory */
|
||||||
return g_strdup(mime_type);;
|
return g_strdup(mime_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
static char*
|
static char*
|
||||||
|
@ -106,7 +106,7 @@ guess_type_file(const char* UNUSED(path))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static const char*
|
static char*
|
||||||
guess_type_magic(zathura_content_type_context_t* UNUSED(context),
|
guess_type_magic(zathura_content_type_context_t* UNUSED(context),
|
||||||
const char* UNUSED(path))
|
const char* UNUSED(path))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue