diff options
| author | Ludovico de Nittis <ludovico.denittis@collabora.com> | 2021-02-18 11:39:23 +0100 |
|---|---|---|
| committer | Ludovico de Nittis <ludovico.denittis@collabora.com> | 2021-02-18 11:39:23 +0100 |
| commit | 8d9be910e5bcb7c0bda439c54a51d85b34cb8881 (patch) | |
| tree | 280b42cece6085612969c02a226cbe3c52663276 | |
| parent | 7224809bc1e2584708b29ec1389cbcf1eeba1d3f (diff) | |
| download | flatpak-8d9be910e5bcb7c0bda439c54a51d85b34cb8881.tar.gz | |
dir: Remove unused AutoPolkitDetails variable
Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com>
| -rw-r--r-- | common/flatpak-dir.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c index 33a930e3..e6e4d6fb 100644 --- a/common/flatpak-dir.c +++ b/common/flatpak-dir.c @@ -7928,13 +7928,12 @@ flatpak_dir_check_parental_controls (FlatpakDir *self, const char *content_rating_type; g_autoptr(GHashTable) content_rating = NULL; g_autoptr(AutoPolkitAuthority) authority = NULL; - g_autoptr(AutoPolkitDetails) details = NULL; g_autoptr(AutoPolkitSubject) subject = NULL; gint subject_uid; g_autoptr(AutoPolkitAuthorizationResult) result = NULL; gboolean authorized; gboolean repo_installation_allowed, app_is_appropriate; - + /* Assume that root is allowed to install any ref and shouldn't have any * parental controls restrictions applied to them */ if (getuid () == 0) |
