X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Futil.c;h=872f6f737192c827212f45a1aed2fa3c1c12b167;hb=9f26c90cb50c45d4549c4dd569917b4ac143b94d;hp=69f1b00934321ac8ae4e07fd9a2f50de33fbfd40;hpb=9a17484d986f6cb8828afdf911db425b574c63fd;p=elogind.git diff --git a/src/shared/util.c b/src/shared/util.c index 69f1b0093..872f6f737 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -5553,7 +5553,6 @@ int on_ac_power(void) { for (;;) { struct dirent *de; union dirent_storage buf; - _cleanup_free_ char *p = NULL; _cleanup_close_ int fd = -1, device = -1; char contents[6]; ssize_t n;