chiark / gitweb /
basic/cgroup-util: remove unused variable
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 6 Mar 2018 08:37:11 +0000 (09:37 +0100)
committerSven Eden <yamakuzure@gmx.net>
Thu, 28 Jun 2018 07:23:09 +0000 (09:23 +0200)
(cherry picked from commit eef03d70c1bedb3aabd4e2bcf10ab1f2678443bf)

src/basic/cgroup-util.c

index 8322f40771c307de2c788f611ea68c127a9fbd71..bc012b6b2cbd0c1390471b60d0762ce7f7ae6c58 100644 (file)
@@ -2150,7 +2150,6 @@ int cg_get_keyed_attribute(
                 char **ret_values) {
 
         _cleanup_free_ char *filename = NULL, *contents = NULL;
-        _cleanup_fclose_ FILE *f = NULL;
         const char *p;
         size_t n, i, n_done = 0;
         char **v;