chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unused variables
[elogind.git]
/
src
/
tmpfiles
/
tmpfiles.c
diff --git
a/src/tmpfiles/tmpfiles.c
b/src/tmpfiles/tmpfiles.c
index 930b9a662a20ec90175f0e2c956b445b94392457..443851a8aa8b48975f3c30cd1bd46e747288dfc1 100644
(file)
--- 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,
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) {
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;
static int get_acls_from_arg(Item *item) {
#ifdef HAVE_ACL
int r;
- _cleanup_(acl_freep) acl_t a = NULL, d = NULL;
assert(item);
assert(item);