mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 22:23:47 +01:00
Avoid unused return value warning
This commit is contained in:
parent
f7d9c39e91
commit
84f2b4485f
@ -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*
|
||||
|
Loading…
Reference in New Issue
Block a user