[libglnx] test-libglnx-xattrs.c: appease -Wunused-variable



commit 47d816329370ca315d4ffec9872690b1fd4c27c9
Author: Jonathan Lebon <jlebon redhat com>
Date:   Fri Aug 25 10:27:55 2017 -0400

    test-libglnx-xattrs.c: appease -Wunused-variable

 tests/test-libglnx-xattrs.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-libglnx-xattrs.c b/tests/test-libglnx-xattrs.c
index 1f94ce2..0076b71 100644
--- a/tests/test-libglnx-xattrs.c
+++ b/tests/test-libglnx-xattrs.c
@@ -223,7 +223,6 @@ test_xattr_races (void)
   GThread *threads[nprocs];
   g_autoptr(GError) local_error = NULL;
   GError **error = &local_error;
-  glnx_fd_close int dfd = -1;
   g_auto(GLnxTmpDir) tmpdir = { 0, };
   g_autofree char *tmpdir_path = g_strdup_printf ("%s/libglnx-xattrs-XXXXXX",
                                                   getenv ("TMPDIR") ?: "/var/tmp");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]