[gnome-desktop] thumbnail: Fix a shadowed variable
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop] thumbnail: Fix a shadowed variable
- Date: Tue, 16 Jan 2018 15:39:03 +0000 (UTC)
commit 53f1db1d256e0e51365023e61e472e4c9cfa3d14
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jan 16 15:55:37 2018 +0100
thumbnail: Fix a shadowed variable
gnome-desktop-thumbnail-script.c: In function ‘setup_seccomp’:
gnome-desktop-thumbnail-script.c:416:24: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
unsigned i;
^
libgnome-desktop/gnome-desktop-thumbnail-script.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libgnome-desktop/gnome-desktop-thumbnail-script.c
b/libgnome-desktop/gnome-desktop-thumbnail-script.c
index 9529b67..4fed111 100644
--- a/libgnome-desktop/gnome-desktop-thumbnail-script.c
+++ b/libgnome-desktop/gnome-desktop-thumbnail-script.c
@@ -414,7 +414,6 @@ setup_seccomp (GPtrArray *argv_array,
if (multiarch && extra_arches != NULL)
{
- unsigned i;
for (i = 0; extra_arches[i] != 0; i++)
{
r = seccomp_arch_add (seccomp, extra_arches[i]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]