Avoid unused return value warning

This commit is contained in:
Sebastian Ramacher 2023-03-14 14:10:13 +01:00
parent f7d9c39e91
commit 84f2b4485f

View File

@ -221,10 +221,7 @@ zathura_get_version_string(zathura_t* zathura, bool markup)
);
}
char* version = string->str;
g_string_free(string, FALSE);
return version;
return g_string_free(string, FALSE);
}
GdkAtom*