glib: fix compiler warning for g_unsetenv_utf8() on windows

"warning: 'void' function returning a value". Neither
g_unsetenv_utf8() nor g_unsetenv() return anything.
This commit is contained in:
Tim-Philipp Müller 2018-01-10 17:24:36 +00:00
parent b241e3a5cc
commit 59c5b939e2

View File

@ -665,7 +665,7 @@ g_setenv_utf8 (const gchar *variable,
void
g_unsetenv_utf8 (const gchar *variable)
{
return g_unsetenv (variable);
g_unsetenv (variable);
}
#endif