mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-03 23:04:49 -04:00
testlibrary: Initialize autofree variable to silence a compiler warning
As with commit43085c0e"dir: Consistently initialize g_autofree variables", this is currently harmless because we never actually early-return or goto out of the region between declaration and initialization, but some compiler versions log a warning here anyway. Signed-off-by: Simon McVittie <smcv@collabora.com> (cherry picked from commitcffc3aed5b)
This commit is contained in:
@@ -207,7 +207,7 @@ test_installation_config (void)
|
||||
g_autofree char *path = NULL;
|
||||
g_autoptr(GFile) file = NULL;
|
||||
g_autoptr(GError) error = NULL;
|
||||
g_autofree char *value;
|
||||
g_autofree char *value = NULL;
|
||||
gboolean res;
|
||||
guint64 bytes;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user