diff options
| author | Alexander Larsson <alexl@redhat.com> | 2021-01-14 12:11:41 +0100 |
|---|---|---|
| committer | Alexander Larsson <alexander.larsson@gmail.com> | 2021-01-14 12:43:46 +0100 |
| commit | 50ee8293ccdbfc9e97f1b39d1312dc50e3275d4b (patch) | |
| tree | a926df90cb619acf1206d26d1815b65f9d199cd4 | |
| parent | 649ad5fe49945b834da0d616a24400c41666048c (diff) | |
| download | flatpak-50ee8293ccdbfc9e97f1b39d1312dc50e3275d4b.tar.gz | |
Fix shadowed variable "error"
| -rw-r--r-- | system-helper/flatpak-system-helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system-helper/flatpak-system-helper.c b/system-helper/flatpak-system-helper.c index ef9373e4..34f9c434 100644 --- a/system-helper/flatpak-system-helper.c +++ b/system-helper/flatpak-system-helper.c @@ -2059,14 +2059,14 @@ flatpak_authorize_method_handler (GDBusInterfaceSkeleton *interface, { g_autoptr(FlatpakDir) system = NULL; g_autoptr(GBytes) deploy_data = NULL; - g_autoptr(GError) error = NULL; + g_autoptr(GError) sys_error = NULL; const char *name = NULL; - system = dir_get_system (installation, 0, &error); + system = dir_get_system (installation, 0, &sys_error); if (system == NULL) { g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_FAILED, - "Error getting installation %s: %s", installation, error->message); + "Error getting installation %s: %s", installation, sys_error->message); return FALSE; } |
