summaryrefslogtreecommitdiff
path: root/src/tmpfiles
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-02 22:56:44 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-02 22:58:06 +0100
commitfed6df828d86c053a96d5b50af75c53eb8dd4666 (patch)
tree0df8df0e0df6f2dd06f956c179d513d0df5a9247 /src/tmpfiles
parent73cb77549536deab85d8d1261b5381e87d80ab23 (diff)
remove unused variables
Diffstat (limited to 'src/tmpfiles')
-rw-r--r--src/tmpfiles/tmpfiles.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 930b9a662a..443851a8aa 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -630,7 +630,7 @@ static int get_xattrs_from_arg(Item *i) {
while ((r = unquote_first_word(&p, &xattr, false)) > 0) {
_cleanup_free_ char *tmp = NULL, *name = NULL,
- *value = NULL, *value2 = NULL, *_xattr = xattr;
+ *value = NULL, *value2 = NULL;
r = split_pair(xattr, "=", &name, &value);
if (r < 0) {
@@ -682,7 +682,6 @@ static int path_set_xattrs(Item *i, const char *path) {
static int get_acls_from_arg(Item *item) {
#ifdef HAVE_ACL
int r;
- _cleanup_(acl_freep) acl_t a = NULL, d = NULL;
assert(item);