Skip to content
Snippets Groups Projects
Commit 0dc3a3fe authored by Simon McVittie's avatar Simon McVittie
Browse files

exports: Fix shadowed local variable and remove suppression


Originally commit 08f69296 in Flatpak. Thanks to Phaedrus Leeds.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent ff67648d
No related branches found
No related tags found
1 merge request!341flatpak-exports: Update to flatpak 1.11.2
......@@ -51,7 +51,6 @@
#if defined(__GNUC__) && __GNUC__ >= 8
# pragma GCC diagnostic ignored "-Wcast-function-type"
#endif
#pragma GCC diagnostic ignored "-Wshadow"
#pragma GCC diagnostic ignored "-Wtype-limits"
/* We don't want to export paths pointing into these, because they are readonly
......@@ -436,8 +435,6 @@ flatpak_exports_append_bwrap_args (FlatpakExports *exports,
if (exports->host_etc == FLATPAK_FILESYSTEM_MODE_NONE)
{
guint i;
/* We are exposing the host /usr (and friends) but not the
* host /etc. Additionally expose just enough of /etc to make
* things that want to read /usr work as expected.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment